Applies to: Nevron Chart for .NET
How to associate multiple charts with a single legend in the Chart control?
You can associate multiple charts from a chart control with a single legend. For example if you have a pie, bar and line graph in a single chart control, you can have a consolidated legend for all the Charts in the NChartControl.
Each chart in the control can display data on any of the legends. Associating a chart with a legend is done with a single line of code:
[C#]
chart.DisplayOnLegend = legend;
[VB.NET]
chart.DisplayOnLegend = legend
Article ID: 76, Created On: 10/6/2010, Modified: 11/15/2010