customize highcharts tooltip to show datetime

前端 未结 5 1447
生来不讨喜
生来不讨喜 2020-12-01 09:19

I\'m developing a project that is expected to show this graph: http://jsfiddle.net/Kc23N/

When I click a point (tooltip) I want to show a date understandable, not th

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-01 10:02

    You can use {value:%Y-%m-%d} template filter.

    For an example:

    headerFormat: '{point.key:%Y-%m-%d}
    '

提交回复
热议问题