我刚开始玩高图表(Time-Series Zoomable),我有一个像这样的JSON数据:
[
{"StartTime":"2018-06-11T00:00:00","TotalReq":10},
{"StartTime":"2018-06-12T00:00:00","TotalReq":34},
{"StartTime":"2018-06-15T00:00:00","TotalReq":31},
{"StartTime":"2018-06-16T00:00:00","TotalReq":2},
{"StartTime":"2018-06-18T00:00:00","TotalReq":38},
{"StartTime":"2018-06-19T00:00:00","TotalReq":69},
{"StartTime":"2018-06-20T00:00:00","TotalReq":39},
{"StartTime":"2018-06-21T00:00:00","TotalReq":100},
{"StartTime":"2018-06-22T00:00:00","TotalReq":180},
{"StartTime":"2018-06-25T00:00:00","TotalReq":104},
{"StartTime":"2018-06-26T00:00:00","TotalReq":101},
{"StartTime":"2018-06-27T00:00:00","TotalReq":123}
]
我试图将StartTime(日期)作为我的 x 轴参数和TotalReq(计数)作为我的 y 轴参数。
但是由于某种原因,当我将此数据传递给图表时,它不会将数据加载到图表(空白屏幕)。我是不是哪里出错了?纠正我,如果是这样。非常感谢提前。
相关分类