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

Chart Control in Report

2 Answers 78 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 01 Sep 2010, 09:58 PM
I'm programmatically creating a chart control on my report; everything is working fine. The chart displays data (when available). However, I want to change the default message that is displayed when no data exists in the series. I understand that there is a "nodatastring" property. However, I cannot locate it. When I have no data in my series, I get the generic message "There is no or empty series". Can I change this message?

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 02 Sep 2010, 07:57 AM
Hi Adam,

You can use the EmptySeriesMessage Class for this purpose i.e.:

chart1.PlotArea.EmptySeriesMessage.TextBlock.Text = "My New Empty Message";

Best wishes,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Adam
Top achievements
Rank 1
answered on 02 Sep 2010, 05:20 PM
That worked great! I appreicate the quick help!
Tags
General Discussions
Asked by
Adam
Top achievements
Rank 1
Answers by
Steve
Telerik team
Adam
Top achievements
Rank 1
Share this question
or