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.
 
 
 
 
 
 

18 lines
621 B

/*************************************************************************************/
// -->Template Name: Bootstrap Press Admin
// -->Author: Themedesigner
// -->Email: niravjoshi87@gmail.com
// -->File: c3_chart_JS
/*************************************************************************************/
$(function () {
var o = c3.generate({
bindto: "#y-axis",
size: { height: 400 },
color: { pattern: ["#1e88e5", "#E91E63"] },
data: {
columns: [["Profit", 2500, 150, 1000, 100, 500, 30]],
},
axis: { y: { tick: { format: d3.format("$,") } } },
grid: { y: { show: !0 } },
});
});