plainheart commented on issue #19529: URL: https://github.com/apache/echarts/issues/19529#issuecomment-1902125995
考虑试试给使用 [`rich`](https://echarts.apache.org/option.html#xAxis.axisLabel.rich) 给年份和月份的 `axisLabel` 添加一个垂直偏移,也可避免跟较近日期 label 重叠,实现年月份 label 和日期 label 交错放置。 <img src="https://github.com/apache/echarts/assets/26999792/5b087ced-a1ea-47bc-b3e7-5b9e1273f1f8" width="600"> 参考: - https://echarts.apache.org/zh/option.html#xAxis.axisLabel.formatter - https://echarts.apache.org/zh/option.html#xAxis.axisLabel.rich -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
