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
692 B

/*************************************************************************************/
// -->Template Name: Bootstrap Press Admin
// -->Author: Themedesigner
// -->Email: niravjoshi87@gmail.com
// -->File: c3_chart_JS
/*************************************************************************************/
$(function () {
var t = c3.generate({
bindto: "#step-chart",
size: { height: 400 },
color: { pattern: ["#1e88e5", "#00acc1"] },
data: {
columns: [
["option1", 250, 300, 200, 150, 120, 100],
["option2", 100, 150, 120, 250, 180, 50],
],
types: { option1: "step", option2: "area-step" },
},
grid: { y: { show: !0 } },
});
});