MindFusion.Wpf Pack Programmer's Guide
Axis.LabelFormatProvider Property
See Also
 





Gets or sets custom IFormatProvider object for formatting numeric labels at the axis.

Namespace: MindFusion.RealTimeCharting.Wpf
Assembly: MindFusion.RealTimeCharting.Wpf

 Syntax

C#  Copy Code

public IFormatProvider LabelFormatProvider { get; set; }

Visual Basic  Copy Code

Public Property LabelFormatProvider As IFormatProvider

 Property Value

A class that implements System.IFormatProvider. Default value is null.

 Remarks

When you assign an instance of your custom IFormatProvider class you can specify additional arguments with the LabelFormat property - see the sample code.

 Example

myChart.XAxis.LabelFormatProvider = new MyFormatProviderClass();
//my format class supports arguments:
myChart.XAxis.LabelFormat = "{0:X}";

 See Also

Axis Members
Axis Class
MindFusion.RealTimeCharting.Wpf Namespace