25 May, 2013

Balloon in amChart

If you wan to change balloon text and look and feel in amchart as shown in below image , just use below code.



amChart Balloon

graph.balloonText = "Month Description = [[value1]] \n Segment = [[value2]] \n % Terms = [[value3]]%";

// BALLOON
                var balloon = chart.balloon;
                // set properties
                balloon.adjustBorderColor = true;
                balloon.color = "#000000";
                balloon.cornerRadius = 5;
                balloon.borderAlpha = 0;
                balloon.fillColor = "#EEEFFF";
                balloon.textAlign = "left";

Popular Posts

Featured Post

Liferay 7.3 compatibility matrix

Compatibility Matrix Liferay's general policy is to test Liferay Portal CE against newer major releases of operating systems, open s...