MindFusion.Charting Programmer's Guide

AxisSettings.LabelType Property

See Also
 





Gets or sets the type of labels at the chart axis.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public AxisLabelType LabelType { get; set; }

Visual Basic  Copy Code

Public Property LabelType As AxisLabelType

 Property Value

One of the AxisLabelType Enumeration values.

 Remarks

The property specifies the type of labels drawn at the chart axis. Custom labels are set with XLabels, YLabels or Y2Labels.

DataFormat specifies whether labels refer to numbers or DateTime values. The format of the labels is set by NumberFormat for numerical data and DateTimeFormat for DateTime values. Custom DateTime format is set with CustomDateTimeFormat.

Labels in multi-series charts can be drawn in several rows / columns. The space between them is set with LabelSpan. They can also be drawn in color matching the color of the series they refer to. Use MultiColoredLabels to set this.

Default value for the LabelType property is AxisLabelType.Empty.

 See Also