Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Highcharts 区域范围示例使用来自 json 的数据。我不确定如何修改此示例以包含在 JavaScript 中硬编码的数据。
这是我要修改的 Highcharts 演示图表:
http://jsfiddle.net/highcharts/WRcj9/
将 json 返回存储到 var 中。 然后你可以改变它的值,第一个数字是UTC日期,第二个是最小值,第三个是最大值。
演示