diff --git a/src/app/components/charts/bar-series/index.tsx b/src/app/components/charts/bar-series/index.tsx index beaa729f9..fc0c52ad1 100644 --- a/src/app/components/charts/bar-series/index.tsx +++ b/src/app/components/charts/bar-series/index.tsx @@ -192,9 +192,9 @@ export const BarSeriesChart: React.FC = ( }, dataZoom: [ { - start: 90, show: mobile, type: "slider", + start: mobile ? 90 : 0, }, ], series: props.data.map((serie) => ({ diff --git a/src/app/pages/datasets/common/chart-block/index.tsx b/src/app/pages/datasets/common/chart-block/index.tsx index 12f9d4c9a..455ac9352 100644 --- a/src/app/pages/datasets/common/chart-block/index.tsx +++ b/src/app/pages/datasets/common/chart-block/index.tsx @@ -134,6 +134,7 @@ export const DatasetChartBlock: React.FC = ( /> = ( props.extraDropdown && props.dropdownItems.length > 0 ? { gap: "16px", + marginBottom: 0, flexDirection: "column", } : {},