mirror of https://github.com/masayuki0812/c3.git
Quite good looking graph derived from d3.js
http://c3js.org
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.
15 lines
645 B
15 lines
645 B
var chart = c3.generate({ |
|
data: { |
|
columns: [ |
|
['data1', 30, 200, 100, 400, 150, 250], |
|
['data2', 50, 20, 10, 40, 15, 25], |
|
['data3', 130, 220, 140, 200, 250, 450], |
|
['data4', 250, 320, 210, 240, 215, 225], |
|
['data5', 430, 500, 400, 280, 290, 350], |
|
['data6', 100, 120, 310, 340, 415, 225] |
|
] |
|
}, |
|
color: { |
|
pattern: ['#1f77b4', '#aec7e8', '#ff7f0e', '#ffbb78', '#2ca02c', '#98df8a', '#d62728', '#ff9896', '#9467bd', '#c5b0d5', '#8c564b', '#c49c94', '#e377c2', '#f7b6d2', '#7f7f7f', '#c7c7c7', '#bcbd22', '#dbdb8d', '#17becf', '#9edae5'] |
|
} |
|
});
|
|
|