Skip to main content

NumberFormatOptions.FormatCodeLocal Property

Specifies a local number format used to display numeric values in chart elements.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

string FormatCodeLocal { get; set; }

Property Value

Type Description
String

The local number format to apply to chart elements.

Property Paths

You can access this nested property as listed below:

Object Type Path to FormatCodeLocal
Axis
.NumberFormat .FormatCodeLocal
DataLabelBase
.NumberFormat .FormatCodeLocal
TrendlineLabel
.NumberFormat .FormatCodeLocal

Remarks

The Spreadsheet allows you to use Microsoft Excel number formats to display numeric values on a chart as currency, percentages, decimals, and so on.

Use the FormatCodeLocal option to specify a number format based on the current (local) culture defined by the DocumentOptions.Culture property. Disable the NumberFormatOptions.IsSourceLinked property to indicate that the applied format differs from the number format of the source cells.

You can also use the FormatCode property to obtain or specify a number format in the invariant culture.

See Also