Edit this page

Localization

The built-in localization mechanism in Silverlight and WPF allows you to localize any string resource exposed by the standard RadChart control. Once translated, you might use your resources in both Silverlight and WPF projects without changing anything.

To learn more about the ways in which to localize the RadControls please read the common topic aboutLocalization.

Resource Keys

RadChart is a complex user interface control and its strings for localization are numerous. In order to be able to distinguish these resources, an unique identifier, called resource key, is assigned to each localizable string.

Note that the resource keys exposed by the RadChart control are used with values, that can be specified via the control and its properties. For example, the ChartChartTitle value is applied to the title of the RadChart, which can be set through the DefaultView of the RadChart.

These resources are created for your facilitation and you can use them when you have a single RadChart in your application.

When you have two controls of this type they will get localized using the one and the same resource file, as the LocalizationManager localizes all of the RadControls in an application. In this case you are unable to specify a specific resource file for each of the charts, so you have to do the localization manually, without the LocalizationManager.

Here is a list of all of the Resources available and their default values:

For the empty fields there are no default values.

Key Value
ChartAxisLabelDateTimeFormat dddd, dd MMMM yyyy
ChartAxisLabelFromat
ChartChartLegendHeader Legend
ChartChartLegendLinearSeriesFormat Series {0}
ChartChartLegendRadialSeriesFormat Item {0}
ChartChartTitle
ChartHorizontalAxisTitle
ChartItemLabelFormat
ChartItemToolTipFormat
ChartNoDataMessage No Data Series.
ChartRangeItemToolTipFormat High: {0}{2}Low: {1}
ChartStickItemToolTipFormat High: {0}{4}Low: {1}{4}Open: {2}{4}Close: {3}