Charting for WPF Programmer's Guide

AxesChart.XLabels Property

See Also
 


Gets or sets custom labels for the X-axis.

Namespace: MindFusion.Charting.Wpf
Assembly: Charting

 Syntax

C#  Copy Code

public IList XLabels { get; set; }

Visual Basic  Copy Code

Public Property XLabels As IList

 Property Value

A list with the labels. Default value is a list with four strings {"Jan", "Feb", "March", "April"}.

 Remarks

The labels are painted at the X-axis when the XAxisSettings.LabelType property is set to LabelType.CustomText. Objects of any type are supported. Non-string objects are converted using the standard .NET ToString() method.

 See Also