0
如何在鼠標懸停時使amcharts氣球可見?這裏是關於氣球的文檔http://docs.amcharts.com/2/javascriptcharts/AmBalloon當鼠標懸停時,amcharts氣球可見性?
如何在鼠標懸停時使amcharts氣球可見?這裏是關於氣球的文檔http://docs.amcharts.com/2/javascriptcharts/AmBalloon當鼠標懸停時,amcharts氣球可見性?
例如,如果您使用列類型。氣球出現在默認情況下。
var graph = new AmCharts.AmGraph();
graph.valueField = "visits"; //this is from my Json data
graph.type = "column"; //here is the type of graph
現在,如果你願意,你可以訪問和修改氣球對象
// here I modify the default outputted text
graph.balloonText = "[[category]]: <b>[[value]]</b>";