我有一個使用data.table(HTML表格)構建的餅圖。 http://jsfiddle.net/m78Lwkqt/2/如何使用data.table或data.csv和額外的數據處理點擊事件
我想使用表中的第3列來驅動點擊到特定的URL。
series:[
{
type: 'pie',
animation: false,
point:{
events:{
click:
function (event)
{
// I want to get the 3rd column of the table's value
// that corresponds to this point.
alert(this.y);
}
}
}
}
]
謝謝。這是完美的。 – 2015-02-09 00:26:33