diff --git a/src/pages/Analytics/CustomSeriesButtons/index.jsx b/src/pages/Analytics/CustomSeriesButtons/index.jsx index 0056488c..c7f5c0be 100644 --- a/src/pages/Analytics/CustomSeriesButtons/index.jsx +++ b/src/pages/Analytics/CustomSeriesButtons/index.jsx @@ -54,7 +54,7 @@ const CustomSeriesButtons = function CustomSeriesButtons({ chart }) { s.setState('normal'); }); }} - visible={buttonsVisibility} + visible={chart?.series[index]?.visible} color={chart?.series[index]?.color} borderColor={chart?.series[index]?.color} variant="dynamic"