title:{
text:"12.45w",
left:"center",
top:"33%",
textStyle:{
color:"#333333",
fontSize:30,
align:"center"
}
},
graphic:{
type:"text",
left:"center",
top:"28%",
style:{
text:"报名累计",
textAlign:"center",
fill:"#333",
fontSize:16,
fontWeight:400
}
},
滚轮缩放
dataZoom: [
{
show: showDataZoom, // 是否展示
xAxisIndex: [0], // 控制第一个x轴
height: 3,
bottom: 20,
start: 0, // 数据窗口范围的起始百分比。范围是:0 ~ 100。表示 0% ~ 100%。
end: settingEnd, // 数据窗口范围的结束百分比。范围是:0 ~ 100。
handleSize: "110%",
zoomLock: true, //是否锁定选择区域(或叫做数据窗口)的大小。如果设置为 true
backgroundColor: "rgba(0,0,0,0)",
borderColor: "transparent",
textStyle: {
fontSize: 0
},
handleStyle: {
color: "#d3dee5"
}
},
//缩放
{
type: "inside", // 内置型数据区域缩放组件,用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系
show: showDataZoom,
disabled: !showDataZoom, // 是否停止组件的功能
height: 3,
start: 0,
end: settingEnd,
}
]
饼图鼠标悬停颜色禁止变浅
https://www.cnblogs.com/coderxiaobai/p/13565313.html