From a66168a3488150f54d64dc04a5dcb1b41c7dac4a Mon Sep 17 00:00:00 2001 From: olav Date: Fri, 13 May 2022 09:42:24 +0200 Subject: [PATCH] refactor: fix metrics chart series colors (#987) --- .../FeatureMetricsChart/createChartData.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/component/feature/FeatureView/FeatureMetrics/FeatureMetricsChart/createChartData.ts b/frontend/src/component/feature/FeatureView/FeatureMetrics/FeatureMetricsChart/createChartData.ts index 2c3a5873cf..907e9018ce 100644 --- a/frontend/src/component/feature/FeatureView/FeatureMetrics/FeatureMetricsChart/createChartData.ts +++ b/frontend/src/component/feature/FeatureView/FeatureMetrics/FeatureMetricsChart/createChartData.ts @@ -15,8 +15,8 @@ export const createChartData = ( ): ChartData<'line', IPoint[], string> => { const requestsSeries = { label: 'total requests', - borderColor: theme.palette.primary.light, - backgroundColor: theme.palette.primary.light, + borderColor: theme.palette.primary.main, + backgroundColor: theme.palette.primary.main, data: createChartPoints(metrics, locationSettings, m => m.yes + m.no), elements: { point: { @@ -31,8 +31,8 @@ export const createChartData = ( const yesSeries = { label: 'exposed', - borderColor: theme.palette.success.light, - backgroundColor: theme.palette.success.light, + borderColor: theme.palette.success.main, + backgroundColor: theme.palette.success.main, data: createChartPoints(metrics, locationSettings, m => m.yes), elements: { point: { @@ -44,8 +44,8 @@ export const createChartData = ( const noSeries = { label: 'not exposed', - borderColor: theme.palette.error.light, - backgroundColor: theme.palette.error.light, + borderColor: theme.palette.error.main, + backgroundColor: theme.palette.error.main, data: createChartPoints(metrics, locationSettings, m => m.no), elements: { point: {