MindFusion.Charting Programmer's Guide

Chart.LegendLabels Property

See Also
 





Gets or sets the labels for the legend.

Namespace: MindFusion.Charting.WebForms
Assembly: MindFusion.Charting.WebForms

 Syntax

C#  Copy Code

public IList LegendLabels { get; }

Visual Basic  Copy Code

Public ReadOnly Property LegendLabels As IList

 Property Value

An object of type .NET IList that holds the labels for the legend.

 Remarks

Add the legend labels to the LegendLabels property or assign to it a list that holds the labels. If the labels are not strings, the control converts them automatically. Words can be kept whole if a label is drawn in multiple rows if you set LegendWordWrap to true.

The labels can be drawn in as many columns as set by LegendColumns properties. The labels are drawn with LegendBrush.

Default value for the LegendLabels property is an empty list.

 See Also