This is a migrated thread and some comments may be shown as answers.

"No series found" - change, localize the text

2 Answers 4 Views
Chart for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Erik
Top achievements
Rank 1
Erik asked on 01 Apr 2014, 11:32 AM
When no series is shown in the chart (RadCartesianChart) I get the text "No series found". I have been unable to find information on how to change it.

Regards,
Erik

2 Answers, 1 is accepted

Sort by
0
Erik
Top achievements
Rank 1
answered on 01 Apr 2014, 11:36 AM
OK, I found it:  

EmptyContent="NO VALUE."

May I ask how I would have found this value in the documentation? I have trouble finding simple configuration like this.

Regards,
Erik 
0
Ivaylo Gergov
Telerik team
answered on 01 Apr 2014, 04:15 PM
Hello Erik,

This string is part of several predefined strings that are included in a resource file in order to be easily localized. Here you can see how to localize strings : http://www.telerik.com/help/windows-8-xaml/howtolocalizate.html. Also, here are all the localization keys in RadChart : http://www.telerik.com/help/windows-8-xaml/radchart-localizationkeys.html. Note, that as it is stated in the second article, in this case you should take advantage of the ChartLocalizationManager class instead of the InputLocalizationManager as in the example.
Also, as you have noticed the RadChart exposes EmptyContent and EmptyContentTemplate properties to customize its appearance when no series is shown. Here are listed most of the RadChart properties with a short explanation : http://www.telerik.com/help/windows-8-xaml/radchart-properties.html. Basically, these two properties are not specific to our control and this is why there is no code snippet. However, we will take into account your feedback and we will further improve the documentation.

Let me know should you need further assistance.

Regards,
Ivaylo Gergov
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
Chart for XAML
Asked by
Erik
Top achievements
Rank 1
Answers by
Erik
Top achievements
Rank 1
Ivaylo Gergov
Telerik team
Share this question
or