0
Im做一個columnrange highchart,我的JSON樣本數據如下:在highcharts提示設置附加信息
{
"name": "PW (md.h24mi)",
"data": [
[320, 320.06],
[319.05, 319.1],
[319.05, 319.1],
[319.05, 319.1],
[319.05, 319.1],
[319.05, 319.1],
[319.05, 319.1],
[319.05, 319.1],
[319.05, 319.1],
[319.05, 319.1],
[319.05, 319.1],
[320, 320.04]
],
"PW": [
["PW0000025090"],
["PW0000025158"],
["PW0000025160"],
["PW0000025171"],
["PW0000025172"],
["PW0000025161"],
["PW0000025173"],
["PW0000025159"],
["PW0000025164"],
["PW0000025170"],
["PW0000024827"],
["PW0000024461"]
],
"GROUP": [
["IT"],
["Sierra"],
["Sierra"],
["RF Engineers"],
["RF Engineers"],
["Sierra"],
["RF Engineers"],
["Sierra"],
["RF Engineers"],
["RF Engineers"],
["Sierra"],
["IP"]
],
"worksum": [
["Call Back Assist (CBA) Modification"],
["TMA Installation"],
["TMA Installation"],
["TMA Installation"],
["TMA Installation"],
["TMA Installation"],
["TMA Installation"],
["TMA Installation"],
["TMA Installation"],
["TMA Installation"],
["TMA Installation"],
["Upgrade Consumer Wimax Firewall Modules to R77.10"]
]
}
我如何得到它顯示的「私服」和「worksum」的提示?我已經嘗試了下面的代碼,但nada。
tooltip: {
formatter: function() {
var point = this.points[0];
return '<b>'+ point.x +'<br />'
+point.PW + '<br />'
+point.worksum + '<br />'
+'</b><br />Duration:'+ point.series.data[0].low +' - '+ point.series.data[0].high;
},
shared: true
}
你是一個上帝!非常感謝!!!!!!!!!!!!! –