HighStock日期

时间:2015-05-31 19:02:20

标签: highcharts highstock

API出现问题并显示无效日期。该脚本正在绘制正确的图表,这令人困惑。

数据集:

{
    "set_one": [
        [1432872000000, -0.628],
        [1432785600000, -0.07],
        [1432699200000, 0.868],
        [1432612800000, -1],
        [1432267200000, -0.202],
        [1432180800000, 0.248],
        [1432094400000, -0.091],
        [1432008000000, -0.076],
        [1431921600000, 0.372],
        [1431662400000, 0.031],
        [1431576000000, 0.979],
        [1431489600000, -0.054],
        [1431403200000, -0.178],
        [1431316800000, -0.485],
        [1431057600000, 1.139],
        [1430971200000, 0.386],
        [1430884800000, -0.533],
        [1430798400000, -1.103],
        [1430712000000, 0.202],
        [1430452800000, 0.997],
        [1430366400000, -0.955],
        [1430280000000, -0.267],
        [1430193600000, 0.304],
        [1430107200000, -0.491],
        [1429848000000, 0.231],
        [1429761600000, 0.271],
        [1429675200000, 0.461],
        [1429588800000, -0.263],
        [1429502400000, 0.779],
        [1429243200000, -1.023],
        [1429156800000, -0.046],
        [1429070400000, 0.419],
        [1428984000000, 0.17],
        [1428897600000, -0.458],
        [1428638400000, 0.503],
        [1428552000000, 0.474],
        [1428465600000, 0.239],
        [1428379200000, -0.215],
        [1428292800000, 0.76],
        [1427947200000, 0.336],
        [1427860800000, -0.385],
        [1427774400000, -0.778],
        [1427688000000, 1.066],
        [1427428800000, 0.255],
        [1427342400000, -0.184],
        [1427256000000, -1.543],
        [1427169600000, -0.593],
        [1427083200000, -0.17],
        [1426824000000, 0.847],
        [1426737600000, -0.45],
        [1426651200000, 1.278],
        [1426564800000, -0.304],
        [1426478400000, 1.249],
        [1426219200000, -0.542],
        [1426132800000, 1.21],
        [1426046400000, -0.218],
        [1425960000000, -1.552],
        [1425873600000, 0.346],
        [1425618000000, -1.421],
        [1425531600000, 0.119],
        [1425445200000, -0.437],
        [1425358800000, -0.378],
        [1425272400000, 0.576]
    ],
    "set_two": [
        [1432872000000, -46.154],
        [1425272400000, 22.222]
    ]
}

我将所有内容都转换为毫秒,但仍然遇到此问题。任何人都有任何关于为什么这套不起作用的想法?

Charted data

谢谢!

0 个答案:

没有答案