From 1e4d6e0c0f72fba1ce36da1c1f6e50f800da7196 Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Mon, 22 Feb 2021 17:58:43 +0100 Subject: [PATCH] Added line color variable to charts --- ghost/admin/app/components/gh-members-chart.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ghost/admin/app/components/gh-members-chart.js b/ghost/admin/app/components/gh-members-chart.js index 8ce46cf6cd..03957860eb 100644 --- a/ghost/admin/app/components/gh-members-chart.js +++ b/ghost/admin/app/components/gh-members-chart.js @@ -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' }] });