Browse Source

Update sample for y domain update

pull/333/head
Masayuki Tanaka 11 years ago
parent
commit
a4de839ca9
  1. 5
      htdocs/samples/domain_y.html

5
htdocs/samples/domain_y.html

@ -19,18 +19,21 @@
['data1', -1030, -1200, 1000], ['data1', -1030, -1200, 1000],
['data2', -1150, -220, -1110] ['data2', -1150, -220, -1110]
], ],
labels: true,
}, },
allPositiveData = { allPositiveData = {
columns: [ columns: [
['data1', 1030, 1200, 1100], ['data1', 1030, 1200, 1100],
['data2', 2050, 2020, 2010] ['data2', 2050, 2020, 2010]
], ],
labels: true,
}, },
allNegativeData = { allNegativeData = {
columns: [ columns: [
['data1', -1030, -2200, -2100], ['data1', -1030, -2200, -2100],
['data2', -1150, -2010, -1200] ['data2', -1150, -2010, -1200]
] ],
labels: true,
} }
var chart1 = c3.generate({ var chart1 = c3.generate({

Loading…
Cancel
Save