echarts icon indicating copy to clipboard operation
echarts copied to clipboard

数值轴上可以是时间吗?

Open zhouyu629 opened this issue 13 years ago • 2 comments

hi,柱形图数值轴上可 不可以是时间?比如:8:10:00,9:10:00 。我在做一个时长统计,试了下,给时间好像不行

zhouyu629 avatar Jun 21 '13 02:06 zhouyu629

恩,数值轴需要自动计算极值和间隔以及跟其他图表配合使用时根据value换算显示坐标等功能,没法直接用这种格式~但满足显示需求倒是很简单,可以用axisLabel.formatte去做,支持function,参考

http://ecomfe.github.io/echarts/doc/doc.html#AxisAxislabel

http://ecomfe.github.io/echarts/doc/example/axis.html

kener avatar Jun 24 '13 03:06 kener

如果用axisLabel.formatter实在太麻烦了, 在amchart就有时间轴 期望echart能够加入这个图表控件

augus-zz avatar Mar 06 '14 05:03 augus-zz