Skip to content

Commit

Permalink
fix(overview): do not show detail when drag data zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinplemelon authored and ysfscream committed Sep 24, 2024
1 parent 79cf2ea commit b418189
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/views/Dashboard/components/PolylineChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,9 @@ const drawChart = () => {
return createTooltip(params[0].axisValue, dataItemArr)
},
},
dataZoom: props.showFullScreen ? [{ type: 'inside' }, { type: 'slider' }] : undefined,
dataZoom: props.showFullScreen
? [{ type: 'inside' }, { type: 'slider', showDetail: false }]
: undefined,
xAxis: {
type: 'category',
boundaryGap: false,
Expand Down

0 comments on commit b418189

Please sign in to comment.