dataZoom-slider. type = ‘slider’
dataZoom-slider. id
dataZoom-slider. show = true
dataZoom-slider. backgroundColor = ‘rgba(47,69,84,0)’
dataZoom-slider. dataBackgroundObject
dataZoom-slider.dataBackground. lineStyleObject
dataZoom-slider.dataBackground. areaStyleObject
dataZoom-slider. fillerColor = ‘rgba(167,183,204,0.4)’
dataZoom-slider. borderColor = ‘#ddd’
dataZoom-slider. handleIcon
'M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z'
'image://http://xxx.xxx.xxx/a/b.png'
'image://data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7'
例如:
'path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z'
dataZoom-slider. handleSize = ‘100%’
dataZoom-slider. handleStyleObject
dataZoom-slider.handleStyle. color = #a7b7cc
dataZoom-slider. labelFormatterstringFunction
/**
* @param {*} value 如果 axis.type 为 'category',则 `value` 为 axis.data 的 index。
* 否则 `value` 是当前值。
* @param {strign} valueStr 内部格式化的结果。
* @return {string} 返回最终的label内容。
*/
labelFormatter: function (value) {
return 'aaa' + value + 'bbb';
}
dataZoom-slider. textStyleany
dataZoom-slider.textStyle. color = #333
dataZoom-slider.textStyle. fontStyle = ‘normal’
dataZoom-slider.textStyle. fontWeight = normal
dataZoom-slider.textStyle. fontFamily = ‘sans-serif’
dataZoom-slider.textStyle. fontSize = 12
dataZoom-slider.textStyle. lineHeight
{
lineHeight: 56,
rich: {
a: {
// 没有设置 `lineHeight`,则 `lineHeight` 为 56
}
}
}
dataZoom-slider. xAxisIndexnumberArray
dataZoom-slider. yAxisIndexnumberArray
dataZoom-slider. filterMode = ‘filter’