update omi-chart demo
This commit is contained in:
parent
dfc09eab49
commit
fde7cbb47a
|
@ -53,14 +53,14 @@ define('my-app', class extends WeElement {
|
|||
labels: ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"],
|
||||
datasets: [{
|
||||
label: '# of Votes',
|
||||
data: [12, 19, 3, 5, 2, 3],
|
||||
data: [12, 19, 3, 5, 5, 3],
|
||||
yAxisID: 'y-axis-1',
|
||||
backgroundColor: Chart.helpers.color(chartColors[0]).alpha(0.2).rgbString(),
|
||||
borderColor: chartColors[0],
|
||||
borderWidth: 1
|
||||
},{
|
||||
label: '# of Votes',
|
||||
data: [7, 19, 13, 5, 12, 13],
|
||||
data: [7, 17, 13, 5, 12, 13],
|
||||
yAxisID: 'y-axis-2',
|
||||
backgroundColor: Chart.helpers.color(chartColors[1]).alpha(0.2).rgbString(),
|
||||
borderColor: chartColors[1],
|
||||
|
|
Loading…
Reference in New Issue