update omi-chart demo

This commit is contained in:
张磊 2018-12-11 17:26:50 +08:00
parent dfc09eab49
commit fde7cbb47a
1 changed files with 2 additions and 2 deletions

View File

@ -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],