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