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:
parent
707c7396bf
commit
1e4d6e0c0f
1 changed files with 3 additions and 2 deletions
|
@ -15,6 +15,7 @@ export default Component.extend({
|
||||||
|
|
||||||
// public attrs
|
// public attrs
|
||||||
nightShift: false,
|
nightShift: false,
|
||||||
|
lineColor: '#14b8ff',
|
||||||
|
|
||||||
stats: null,
|
stats: null,
|
||||||
tagName: '',
|
tagName: '',
|
||||||
|
@ -132,10 +133,10 @@ export default Component.extend({
|
||||||
cubicInterpolationMode: 'monotone',
|
cubicInterpolationMode: 'monotone',
|
||||||
data: dateValues,
|
data: dateValues,
|
||||||
fill: false,
|
fill: false,
|
||||||
backgroundColor: '#45C32E',
|
backgroundColor: this.lineColor,
|
||||||
pointRadius: 0,
|
pointRadius: 0,
|
||||||
pointHitRadius: 10,
|
pointHitRadius: 10,
|
||||||
borderColor: '#45C32E',
|
borderColor: this.lineColor,
|
||||||
borderJoinStyle: 'miter'
|
borderJoinStyle: 'miter'
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue