0

鼠标悬停时如何使amcharts气球可见?这是关于气球的文档http://docs.amcharts.com/2/javascriptcharts/AmBalloon

4

1 回答 1

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>"; 
于 2014-04-30T13:32:50.323 回答