国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

javascript - About highchart data rendering
習(xí)慣沉默
習(xí)慣沉默 2017-06-26 10:53:06
0
1
955

image description

The above chart adds data dynamically. The variable xdata in the code is a time, and the format is 17:21:11. It can be printed out, and the y-axis can also be printed normally. But now the Y-axis data can be rendered normally, but the x-axis cannot be displayed. The expected effect should be to display the time, but now the accumulated numbers starting from 1 are displayed.

習(xí)慣沉默
習(xí)慣沉默

reply all(1)
洪濤

You first try setting the type of xAxis to category;

in the options passed to the highcharts constructor
{
    ...
    xAxis: {
        ...,
        type:"category"
    },
    ...
}

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template