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

Setting value of EmptySeriesMessage?

1 Answer 8 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 2
Dan asked on 25 Aug 2009, 07:43 PM
Is it not possible to set the value of the EmptySeriesMessage?  This code:

chart1.PlotArea.EmptySeriesMessage =

"No data to display.";

 


results in the error:

Property or indexer 'Telerik.Reporting.Charting.ChartPlotArea.EmptySeriesMessage' cannot be assigned to -- it is read only.

Any way to do this?
Thanks.
Dan

1 Answer, 1 is accepted

Sort by
0
Dan
Top achievements
Rank 2
answered on 25 Aug 2009, 07:49 PM
Never mind......I found it:

this

 

.chart1.PlotArea.EmptySeriesMessage.TextBlock.Text = "No data to display.";

Dan

 

Tags
General Discussions
Asked by
Dan
Top achievements
Rank 2
Answers by
Dan
Top achievements
Rank 2
Share this question
or