0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Added line color variable to charts

This commit is contained in:
Peter Zimon 2021-02-22 17:58:43 +01:00
parent 707c7396bf
commit 1e4d6e0c0f

View file

@ -15,6 +15,7 @@ export default Component.extend({
// public attrs
nightShift: false,
lineColor: '#14b8ff',
stats: null,
tagName: '',
@ -132,10 +133,10 @@ export default Component.extend({
cubicInterpolationMode: 'monotone',
data: dateValues,
fill: false,
backgroundColor: '#45C32E',
backgroundColor: this.lineColor,
pointRadius: 0,
pointHitRadius: 10,
borderColor: '#45C32E',
borderColor: this.lineColor,
borderJoinStyle: 'miter'
}]
});