Closed XuanChuYun closed 4 months ago
The data shadow is hidden on Android, but still displayed on iOS:
dataZoom: [ { showDetail: false, type: 'slider', show: true, bottom: isFull ? 30 + 10 * Math.ceil(lineData.current.length / 5) : uiBase.SFSize( lineData.current && Array.isArray(lineData.current) && lineData.current.length > 2 ? 15 - 8 * Math.ceil(lineData.current.length / 5) + hr : 30, ), height: uiBase.SFSize(40), brushSelect: false, moveHandleSize: 48, // 设置滑动条的大小 filterMode: 'empty', showDataShadow: false, dataBackground: { areaStyle: { color: 'rgba(0, 0, 0, 0)', }, lineStyle: { color: 'rgba(0, 0, 0, 0)', }, }, selectedDataBackground: { lineStyle: { color: 'rgba(0, 0, 0, 0)', }, areaStyle: { color: 'rgba(0, 0, 0, 0)', }, }, }, { type: 'inside', preventDefaultMouseMove: true, moveOnMouseMove: false, xAxisIndex: [0, 1], filterMode: 'empty', }, ],
When sliding, Android will still display and the data shadow of the selected area will not disappear
The data shadow is hidden on Android, but still displayed on iOS: