Skip to main content

ChartLocalizer.GetString(ChartStringId) Method

Returns a localized string for the specified string identifier.

Namespace: DevExpress.Xpf.Charts.Localization

Assembly: DevExpress.Xpf.Charts.v22.2.dll

NuGet Package: DevExpress.Wpf.Charts


public static string GetString(
    ChartStringId id


Name Type Description
id ChartStringId

A ChartStringId enumeration value identifying the string to localize.


Type Description

A String corresponding to the specified identifier.


The ChartControl supports localization, i.e., you can substitute strings displayed within default UI elements with your own equivalents (for example, in your native language). Items that can be localized are enumerated by the ChartStringId enumeration.

To localize the Chart’s resources, you need to override the GetLocalizedString method in a ChartLocalizer class descendant.

See Also