Incubator-echarts: Automatic Date Format

Created on 22 Apr 2016  ·  5Comments  ·  Source: apache/incubator-echarts

Hi,

For xAxis type:time I want to change the format of the date to YYYY-MM-DD or DD-MM-YYYY

Is there an option for this?

Thanks

stale

Most helpful comment

but how can I get this to work when using datazoom
I would like it to be exactly the same as the current one, so when you zoom out you only see date but when you zoom in you can also see the time
could you please send an example

Thank you!

All 5 comments

xAxis.axisLabel.formatter

but how can I get this to work when using datazoom
I would like it to be exactly the same as the current one, so when you zoom out you only see date but when you zoom in you can also see the time
could you please send an example

Thank you!

@talatbaig were you able to solve this?

+1

+1

Was this page helpful?
0 / 5 - 0 ratings