首页 > Highcharts tooltip dateTimeLabelFormats 如何显示正确的日期格式?

Highcharts tooltip dateTimeLabelFormats 如何显示正确的日期格式?

tooltip:{
    shared:true,
    crosshairs:true,
    dateTimeLabelFormats:{
        hour:"%m-%e %H:%M",
        day:"%m-%e",
        month:"%Y-%m",
    },
},

我在highcharts里设置了这样的tooltip配置,目前在hour和day的下可以用正确的格式显示,当我想显示201409月的月份时,使用的还是day的配置,而不是month的配置,怎么能让highcharts选择正确的格式呢?highcharts如何判断何时是用什么配置?


http://www.highcharts.com/docs/chart-concepts/tooltip#formatter

【热门文章】
【热门文章】