From a804e2c31f377e2f1db1b27a70c3ebf9b3fdc97d Mon Sep 17 00:00:00 2001 From: Severin Landolt Date: Thu, 19 Oct 2023 21:17:52 +0200 Subject: [PATCH] set enableLegendSlider to default false --- src/components/chart-elements/AreaChart/AreaChart.tsx | 2 +- src/components/chart-elements/BarChart/BarChart.tsx | 2 +- src/components/chart-elements/LineChart/LineChart.tsx | 2 +- src/components/chart-elements/ScatterChart/ScatterChart.tsx | 2 +- src/components/text-elements/Legend/Legend.tsx | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/chart-elements/AreaChart/AreaChart.tsx b/src/components/chart-elements/AreaChart/AreaChart.tsx index 187be3952..4e65d0983 100644 --- a/src/components/chart-elements/AreaChart/AreaChart.tsx +++ b/src/components/chart-elements/AreaChart/AreaChart.tsx @@ -73,7 +73,7 @@ const AreaChart = React.forwardRef((props, ref) noDataText, className, onValueChange, - enableLegendSlider = true, + enableLegendSlider = false, customTooltip, ...other } = props; diff --git a/src/components/chart-elements/BarChart/BarChart.tsx b/src/components/chart-elements/BarChart/BarChart.tsx index ff82b7a7b..278bb59ec 100644 --- a/src/components/chart-elements/BarChart/BarChart.tsx +++ b/src/components/chart-elements/BarChart/BarChart.tsx @@ -76,7 +76,7 @@ const BarChart = React.forwardRef((props, ref) => onValueChange, customTooltip, className, - enableLegendSlider = true, + enableLegendSlider = false, ...other } = props; const CustomTooltip = customTooltip; diff --git a/src/components/chart-elements/LineChart/LineChart.tsx b/src/components/chart-elements/LineChart/LineChart.tsx index e02a88293..6bd30ef6a 100644 --- a/src/components/chart-elements/LineChart/LineChart.tsx +++ b/src/components/chart-elements/LineChart/LineChart.tsx @@ -69,7 +69,7 @@ const LineChart = React.forwardRef((props, ref) noDataText, className, onValueChange, - enableLegendSlider = true, + enableLegendSlider = false, customTooltip, ...other } = props; diff --git a/src/components/chart-elements/ScatterChart/ScatterChart.tsx b/src/components/chart-elements/ScatterChart/ScatterChart.tsx index f90e8edd3..743515858 100644 --- a/src/components/chart-elements/ScatterChart/ScatterChart.tsx +++ b/src/components/chart-elements/ScatterChart/ScatterChart.tsx @@ -131,7 +131,7 @@ const ScatterChart = React.forwardRef((props, onValueChange, customTooltip, className, - enableLegendSlider = true, + enableLegendSlider = false, ...other } = props; const CustomTooltip = customTooltip; diff --git a/src/components/text-elements/Legend/Legend.tsx b/src/components/text-elements/Legend/Legend.tsx index 073f110b2..9e151b725 100644 --- a/src/components/text-elements/Legend/Legend.tsx +++ b/src/components/text-elements/Legend/Legend.tsx @@ -160,7 +160,7 @@ const Legend = React.forwardRef((props, ref) => { className, onClickLegendItem, activeLegend, - enableLegendSlider = true, + enableLegendSlider = false, ...other } = props; const scrollableRef = React.useRef(null);