MindFusion.Charting Programmer's Guide

AxesChart.YLabels Property

See Also
 





Gets or sets the labels drawn at the Y-axis.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public IList YLabels { get; set; }

Visual Basic  Copy Code

Public Property YLabels As IList

 Property Value

An instance of type .NET IList that holds other lists with the labels.

 Remarks

The property is a list that holds other lists with the labels. Custom labels are drawn at the Y-axis when the LabelType property of the YAxisSettings object is set to CustomText. The labels can be of any format, the control always converts them to strings.

The labels are drawn in a column, which offset to the Y-axis is set with LabelOffset. When labels for multiple series are drawn, each series has its own column. The space among them is set with LabelsSpan.

Each labels column can be drawn in the color of the chart graphics it refers to by setting the MultiColoredLabels property to true. If the count of labels for a given series is less than the count of data values the control fills the missing label members with empty strings.

Default value for the YLabels property is an empty list.

 See Also