echarts [Feature] Adjust position of datazoom slider

bxjv4tth  于 3个月前  发布在  Echarts
关注(0)|答案(1)|浏览(64)

What problem does this feature solve?

  1. Currently, the echarts datazoom 'slider' doesnt support position of the text compare to the handle. It would be nice if we can add a properties to control that

Currently:

Proposed support of changing position, such as bottom:

What does the proposed API look like?

`
dataZoom: [
{
type: 'slider',
textPosition: 'bottom' // <-- add this option
}

]
`

q5iwbnjs

q5iwbnjs1#

DataZoom provides textStyle instead of label , which means this is not intended to have complex customiztion like rotation or positioning. Adding this feature may break the current API so it may be hard to do so.

相关问题