You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/07/01 07:01:46 UTC
[GitHub] [echarts] feedoom opened a new issue, #17300: [Feature] datazoom 的label可以固定位置和是否一直显示
feedoom opened a new issue, #17300:
URL: https://github.com/apache/echarts/issues/17300
### What problem does this feature solve?
希望 `datazoom` 的 `label` 可以控制位置和是否一直显示,如图片所示
![image](https://user-images.githubusercontent.com/37018475/176840274-e926cbe2-6bdb-44e1-a33b-8b83803b9c52.png)
### What does the proposed API look like?
dataZoom-slider.labelShow = true || false
true-----label一直显示
false----hover在手柄时才显示
dataZoom-slider.labelPosition = 'auto' || 'space-between' || 'left' || 'right' || 'top' || 'bottom'
auto--跟随手柄移动
space-between-----固定在组件的两端
left-----固定在组件的左方
right--------固定在组件的右方
top----固定在组件的上方
bottom------固定在组件的下方
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] echarts-bot[bot] commented on issue #17300: [Feature] datazoom 的label可以固定位置和是否一直显示
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #17300:
URL: https://github.com/apache/echarts/issues/17300#issuecomment-1172008198
@feedoom It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
<details><summary><b>TRANSLATED</b></summary><br>
**TITLE**
[Feature] The label of the datazoom can be fixed in position and whether it is always displayed
**BODY**
### What problem does this feature solve?
Hopefully, the 'label' of 'datazoom' can control the position and whether it is always displayed, as shown in the picture
![image](https://user-images.githubusercontent.com/37018475/176840274-e926cbe2-6bdb-44e1-a33b-8b83803b9c52.png)
### What does the proposed API look like?
dataZoom-slider.labelShow = true || false
True-----label is always displayed
False---- cover is displayed only when the handle is in the handle
dataZoom-slider.labelPosition = 'auto' || 'space-between' || 'left' || 'right' || 'top' || 'bottom'
auto--Follow the handle
The space-between ----- fixed at both ends of the component
The left ----- fixed to the left of the component
The right -------- fixed to the right of the component
The top ---- fixed above the component
The bottom ------ fixed below the component
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org