100pah commented on issue #9015: Format time on x and y axis to day of the week or week number in a year, etc. URL: https://github.com/apache/incubator-echarts/issues/9015#issuecomment-418981530 echarts provides `echarts.format.formatTime`: ```js var option = { // ... xAxis: { type: 'time', axisLabel: { formatter: function (value) { return echarts.format.formatTime('yyyy-MM-dd', value); // And other formatter tool (e.g. moment) can be used here. } } } } ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
