日期没有显示在高库存图表上

时间:2013-07-17 19:45:20

标签: highcharts highstock

为什么xAxis上的日期不显示?

我似乎找不到任何错误。

enter image description here

更新

data: [
                [1104966000000, 1.94, 1.99, 1.91, 1.95],
                [1104793200000, 1.9, 1.95, 1.9, 1.9],
            ]

jsfiddle as requested

1 个答案:

答案 0 :(得分:1)

您可以使用label formatterdateFormat

编辑:

http://jsfiddle.net/sbochan/Usrca/3/

xAxis: {
            labels: {
                formatter: function () {
                    console.log(this);
                    return Highcharts.dateFormat('%d/%m/%Y', this.value);
                }
            }
        }
相关问题