Gets or sets custom IFormatProvider object for formatting numeric labels at the axis.
Namespace: MindFusion.RealTimeCharting.Wpf
Assembly: MindFusion.RealTimeCharting.Wpf
C#
![]() |
---|
public IFormatProvider LabelFormatProvider { get; set; } |
Visual Basic
![]() |
---|
Public Property LabelFormatProvider As IFormatProvider |
A class that implements System.IFormatProvider. Default value is null.
When you assign an instance of your custom IFormatProvider class you can specify additional arguments with the LabelFormat property - see the sample code.
myChart.XAxis.LabelFormatProvider = new MyFormatProviderClass();
//my format class supports arguments:
myChart.XAxis.LabelFormat = "{0:X}";