From 876096a2aa8a5de005edf39f7e3eef4d207130c1 Mon Sep 17 00:00:00 2001 From: Xavier FACQ Date: Thu, 5 Oct 2023 16:54:01 +0200 Subject: [PATCH] Fix the color to avoid to have a random color when navigate in the drilldown --- src/Graph/BarChart.tsx | 3 +++ src/Graph/ColumnDrilldown.tsx | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/Graph/BarChart.tsx b/src/Graph/BarChart.tsx index 82ab71f..f7a3852 100644 --- a/src/Graph/BarChart.tsx +++ b/src/Graph/BarChart.tsx @@ -16,6 +16,9 @@ export default class BarChart extends Component { if (!data) return null const options = { + colors: [ + "#2caffe" + ], accessibility: { enabled: false, }, diff --git a/src/Graph/ColumnDrilldown.tsx b/src/Graph/ColumnDrilldown.tsx index 776fe52..1994f83 100644 --- a/src/Graph/ColumnDrilldown.tsx +++ b/src/Graph/ColumnDrilldown.tsx @@ -137,6 +137,9 @@ export default class ColumnDrilldown extends Component