What problem does this feature solve?
这是一个官方的示例
https://echarts.apache.org/examples/zh/editor.html?c=area-time-axis
当xAxis的类型为time时,整体的轴文本样式都能正常设置,用鼠标滚动更改显示范围后,有一部分的轴文本没法设置大小,在配置项的文档里没有找到对应的设置。
请问这边的应该如何设置?
What does the proposed API look like?
希望能有对应配置项
5条答案
按热度按时间wqnecbli1#
@Break-2020 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. 🤗
TRANSLATED
TITLE
[Feature] When the xAxis type is time, some axis texts cannot be set
BODY
What problem does this feature solve?
Here is an official example
https://echarts.apache.org/examples/zh/editor.html?c=area-time-axis
When the type of xAxis is time, the overall axis text style can be set normally. After changing the display range by scrolling with the mouse, some axis texts cannot be set in size, and no corresponding setting can be found in the documentation of the configuration item.
How should I set up here?
What does the proposed API look like?
Hope to have corresponding configuration items
o4hqfura2#
Bug 🐛, not a [Feature].
kqhtkvqz3#
Bug 🐛, not a [Feature].
Bug 🐛, not a [Feature].
Okay, but I don't know how to turn [Feature] into [Bug]...I changed the title, but it doesn’t seem to work...
b4lqfgs44#
You can set these special labels using the rich attribute and they are called "primary" styles.
I'm not sure if this behavior is correct, maybe we should inherit them from labelStyle when rich attribute is not set and labelStyle is set.
oxcyiej75#
You can set these special labels using the rich attribute and they are called "primary" styles.
I'm not sure if this behavior is correct, maybe we should inherit them from labelStyle when rich attribute is not set and labelStyle is set.
Thank you,this works! But there doesn't seem to be such a property in the documentation