Class ChartNumberFormatter
This chart formatter allows the chart to format numbers in human readable or scientific form.
Inheritance
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public sealed class ChartNumberFormatter : Object, ICustomFormatter, IFormatProvider
Constructors
ChartNumberFormatter()
Initializes a new instance of the Chart
Declaration
public ChartNumberFormatter()
ChartNumberFormatter(IFormatProvider)
Initializes a new instance of the Chart
Declaration
public ChartNumberFormatter(IFormatProvider fallbackFormatProvider)
Parameters
System. An System. |
ChartNumberFormatter(IFormatProvider, String)
Initializes a new instance of the Chart
Declaration
public ChartNumberFormatter(IFormatProvider fallbackFormatProvider, string defaultFormat)
Parameters
System. An System. |
System. The default format that is to be used in case no specific format is defined. |
ChartNumberFormatter(String)
Initializes a new instance of the Chart
Declaration
public ChartNumberFormatter(string defaultFormat)
Parameters
System. The default format that is to be used in case no specific format is defined. |
Methods
Format(String, Object, IFormatProvider)
Converts the value of a specified object to an equivalent string representation using specified format and culture-specific formatting information.
Declaration
public string Format(string format, object arg, IFormatProvider formatProvider)
Parameters
System. A format string containing formatting specifications. |
System. An object to format. |
System. An System. |
Returns
System. The string representation of the value of |
GetFormat(Type)
Returns an object that provides formatting services for the specified type.
Declaration
public object GetFormat(Type formatType)
Parameters
System. An object that specifies the type of format object to return. |
Returns
System. An instance of the object specified by |