You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
686 B

/*************************************************************************************/
// -->Template Name: Bootstrap Press Admin
// -->Author: Themedesigner
// -->Email: niravjoshi87@gmail.com
// -->File: c3_chart_JS
/*************************************************************************************/
$(function () {
var a = c3.generate({
bindto: "#rotated-axis",
size: { height: 400 },
color: { pattern: ["#00acc1", "#1e88e5"] },
data: {
columns: [
["data1", 50, 250, 90, 400, 300, 150],
["data2", 30, 100, 85, 50, 15, 25],
],
types: { data1: "bar" },
},
axis: { rotated: !0 },
grid: { y: { show: !0 } },
});
});