2014-04-07 40 views

回答

0

例如,如果您使用列類型。氣球出現在默認情況下。

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>";