Nevron .NET Vision Documentation
Legend Overview

Nevron Chart for .NET has an integrated legend that can display various information about the chart. The flexible design of the integrated legend helps you to customize the displayed data and its appearance with ease.

The legend is represented by the NLegend class. In order to gain fast access to legends you may use the legends collection of the control accessible from the Legends property:

C#
Copy Code
NLegendCollection legendsCollection = chartControl.Legends;
Visual Basic
Copy Code
Dim legendsCollection As NLegendCollection =  chartControl.Legends

By default the control will create one chart and one legend. This is why it is safe to obtain the first NLegend object from the collection at startup:

C#
Copy Code
NLegendCollection legendsCollection = chartControl.Legends;
NLegend legend = (NLegend)legendsCollection[0];
Visual Basic
Copy Code
Dim legendsCollection As NLegendCollection =  chartControl.Legends 
Dim legend As NLegend = CType(legendsCollection(0), NLegend)

The following picture describes the major elements and attributes of the legend:


The following topics will teach you how take advantage of the features in the legend.

 

 


©2017. Nevron Software LLC.

Send Feedback