高图不正确的x轴日期时间

时间:2014-03-18 06:47:46

标签: highcharts

我在某些报告中使用高级图表,但选项

的设置如下
  

xAxis:{                   标题:{                       文字:xlabel,                       风格:{                           fontSize:'14px',                           fontFamily:'proxima-nova,helvetica,arial,sans-seri',                           颜色:'#5b5b5b',                           fontWeight:'normal'                       }                   },

            lineWidth: 1,
            type : 'datetime',
            dateTimeLabelFormats: { // don't display the dummy year
                day: '%b %e',
                week: '%b %e',
                month: '%e. %b',
                year: '%b'
            },
            tickmarkPlacement: 'on',
            minPadding: 0.05,
            maxPadding: 0.05,
            labels: {
                rotation: (chartType == 3 ? 0 : -60),
                align: 'right',
                style: {
                    fontSize: '14px',
                    fontFamily: 'proxima-nova,helvetica,arial,sans-seri'
                }
            }

        }
     

give x-axis date as Jan 1 and 00:00:00.0001表示两个样本数据,Jan1,00:00:00.0001,00:00:00.0002 ...表示多个数据

0 个答案:

没有答案