dataZoom: [
{
type: "inside", // slider表示有滑动块的,inside表示内置的
show: false,
xAxisIndex: 0,
// start: 0,
// end: 20,
startValue: 0,
endValue: 4,
},
{
type: "slider", // slider表示有滑动块的,inside表示内置的
show: true,
height: 0,
xAxisIndex: 0,
bottom: 10,
startValue: 0,
endValue: 4,
minSpan: 8, // 最小滑动距离
handleIcon: "",
showDetail: false,
filterMode: "filter",
borderColor: "#046162", // 边框颜色
fillerColor: "transparent", // 选中范围背景色
backgroundColor: "#046162", // 背景颜色
moveOnMouseMove: true,
selectedDataBackground: {
lineStyle: {
color: "#14C8B5",
},
areaStyle: {
color: "#14C8B5",
},
},
},
],
echarts dataZoom滑块配置
最新推荐文章于 2024-05-21 23:21:19 发布