Among the many features of NetCharts is the ability to quickly and easily customize your charts to look exactly the way you want. In this blog we will show you how simple it is to add a Legend to a chart.
You may have a chart that doesn’t have a Legend enabled and now you need to add one to make it easier to interpret the chart data. No worries, it’s very easy to add a Legend parameter.
The only step required is to add a Legend parameter into your chart template. This will enable the Legend which will appear on the right side of the chart by default.
Legend = (“”, x000000_178, “Arial Plain”, 10, 0, CENTER);
With the Legend parameter enabled your chart will look similar to the chart below:
In this example, the individual names of each line were defined in the LineSets parameter as Apples, Bananas and Grapes. This LineSet text will then automatically be displayed as items once the parameter is enabled.
NetCharts powerful features allows you to customize the Legend further too. Among the visible attributes of the default Legend parameter that you can customize are Font Color, Font name, Font size, Angle, and Alignment. However, note that the Legend can be customized further to also have a Title, Label style, Symbol border, Animation, Layout, Symbol position, Item order and Clip. As you can see, all these features can be added as parameters in order to customize your Legend exactly the way you want. More information on CDL parameters can be found in the CDL Reference Guide (HTML).
Also see related blog posts:
How to add Legend interactivity to your charts in NetCharts Pro
How to add Legend interactivity to your charts in NetCharts Designer
Good and Not So Good Ideas of chart design – Legend
Quick and easy ways to enhance the look and interactivity of your charts
If you have any questions, feel free to contact us at email@example.com.