隐藏图例时,希望轴单位也自动隐藏
Version
5.3.2
Link to Minimal Reproduction
No response
Steps to Reproduce
点击图例隐藏图表,轴单位未隐藏
Current Behavior
隐藏图例的时候,轴的单位未自动隐藏
Expected Behavior
期望隐藏图例的时候,轴的单位也隐藏
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
I'm sorry to close this issue for it lacks the necessary title. Please provide a descriptive and as concise as possible title to describe your problems or requests and then the maintainers or I will reopen this issue.
Every good bug report or feature request starts with a title. Your issue title is a critical element as it's the first thing maintainers see.
A good issue title makes it easier for maintainers to understand what the issue is, easily locate it, and know what steps they'll need to take to fix it.
Moreover, it's better to include keywords, as this makes it easier to find the issue self and similar issues in searches.
@YXYCZXY 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
When hiding the legend, want the axis units to also be automatically hidden
BODY
Version
5.3.2
Link to Minimal Reproduction
No response
Steps to Reproduce
Click the legend to hide the chart, the axis units are not hidden
Current Behavior
When you hide a legend, the units of the axis are not automatically hidden
Expected Behavior
When you expect to hide the legend, the units of the axis are also hidden
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
可以使用legendselected事件去操控你的option
使用legendselected 可以去烧烤你的选项
这个我知道这样的确可以解决,但是echarts自带的隐藏图例的时候可以把对应轴的label给隐藏,那为什么不也隐藏轴的单位呢? 我觉得这个是一个bug
使用legendselected 可以去烧烤你的选项
这个我知道这样的确可以解决,但是echarts自带的隐藏图例的时候可以把对应轴的label给隐藏,那为什么不也隐藏轴的单位呢? 我觉得这个是一个bug
这个是看个人需求的吧,有的需求会要求显示y轴的名称,我们在制作图表的时候是需要根据自己的需求封装的
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!