日期:2014-05-16  浏览次数:20319 次

HighChart时间标签无法正常显示
情况是这样的,当我的图表的查询时间周期大于4天的时候可以正常显示,而小于4天就没法正常显示。

X 已经设置类型为datatime

我是这么设置的

 $('#container').highcharts('StockChart', {

                    legend: {
                        layout: 'horizontal',
                        //【图例】显示的样式:水平(horizontal)/垂直(vertical)
                        backgroundColor: '#FFFFFF',
                        borderColor: '#CCC',
                        borderWidth: 1,
                        align: 'center',
                        verticalAlign: 'top',//默认为底部
                        enabled: true,
                        //x: 100,
                        y: 50,
                        //floating: true,
                        shadow: true,
                    },

                    rangeSelector: {
                        selected: 1
                    },

                    title: {