Youmyin opened a new issue #15565:
URL: https://github.com/apache/echarts/issues/15565


   ### Version
   5.1.2
   
   ### Reproduction link
   
[https://codesandbox.io/s/friendly-shtern-r1mju?file=/src/App.tsx](https://codesandbox.io/s/friendly-shtern-r1mju?file=/src/App.tsx)
   
   ### Steps to reproduce
   我的x轴数据是category类型的,是以YYYY-MM-DD HH:mm格式显示的日期
   
   需求:
   1、我要显示24小时以内的数据,但是日期格式太长,因此我想要在坐标轴显示成HH:mm形式,但是tooltip中依然能以YYYY-MM-DD 
HH:mm的格式显示
   
   2、x轴label之间的间隔隔一个小时,但是现在给我隔了6个小时,如果设置interval:1,
   那么label会重叠
   
   ### What is expected?
   1、xAixs的label能够以HH:mm的格式显示,toolTip中以YYYY-MM-DD HH:mm的格式显示x轴数据
   
   2、xAxis的label显示的间隔为1小时
   
   ### What is actually happening?
   无法以HH:mm的格式显示xAxis的label,并且xAxis的label显示不全
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


-- 
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]

Reply via email to