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

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

Rate Me:

Create Servlet Project as Module

You would have seen that many times we are writing out own servlet in Liferay portal to achieve some specific use case. In DXP, You can st...