echarts icon indicating copy to clipboard operation
echarts copied to clipboard

自定义时间轴时间细粒度[Feature]

Open ZXYT opened this issue 4 years ago • 4 comments

What problem does this feature solve?

image 格式化时间样式后,时间间隔较小时纵坐标值重复的问题

What does the proposed API look like?

interval: 'day' | 'month' | 'year'

ZXYT avatar Feb 23 '22 07:02 ZXYT

@ZXYT 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

Customize timeline time fine-grained [Feature]

BODY

What problem does this feature solve?

image After formatting the time style, the interval j is smaller when the ordinate value is duplicated

What does the proposed API look like?

interval: 'day' | 'month' | 'year'

echarts-bot[bot] avatar Feb 23 '22 07:02 echarts-bot[bot]

https://echarts.apache.org/zh/option.html#xAxis.axisLabel.formatter 「分级模板」看一下能不能解决这个问题

Ovilia avatar Feb 23 '22 08:02 Ovilia

image 谢谢羡辙姐! 勉强可以解决,但是还是会有刻度线 对了,羡辙姐去年怎么没有写年度总结了,我还等着学习呢🤣

ZXYT avatar Feb 24 '22 01:02 ZXYT

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.

github-actions[bot] avatar Feb 24 '24 21:02 github-actions[bot]

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!

github-actions[bot] avatar Mar 03 '24 21:03 github-actions[bot]