fix: fix charts

This commit is contained in:
woothu
2019-10-19 12:21:39 +02:00
parent 8bf4e290b0
commit f414a7a117
2 changed files with 22 additions and 17 deletions
+4 -3
View File
@@ -15,6 +15,7 @@ function random (min, max) {
}
export default {
name: 'MainChartExample',
components: {
CChartLine
},
@@ -39,7 +40,7 @@ export default {
label: 'My First dataset',
backgroundColor: hexToRgba(brandInfo, 10),
borderColor: brandInfo,
pointHoverBackgroundColor: '#fff',
pointHoverBackgroundColor: brandInfo,
borderWidth: 2,
data: data1
},
@@ -47,7 +48,7 @@ export default {
label: 'My Second dataset',
backgroundColor: 'transparent',
borderColor: brandSuccess,
pointHoverBackgroundColor: '#fff',
pointHoverBackgroundColor: brandSuccess,
borderWidth: 2,
data: data2
},
@@ -55,7 +56,7 @@ export default {
label: 'My Third dataset',
backgroundColor: 'transparent',
borderColor: brandDanger,
pointHoverBackgroundColor: '#fff',
pointHoverBackgroundColor: brandDanger,
borderWidth: 1,
borderDash: [8, 5],
data: data3