MindFusion.Charting Programmer's Guide

Chart.LegendLabels Property

See Also
 





Gets or sets the labels for the legend.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public IList LegendLabels { get; set; }

Visual Basic  Copy Code

Public Property LegendLabels As IList

 Property Value

A list that contains the legend labels.

 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