Is there a way to customize the [Data Not Available] message that is displayed in the chart while is not fully created.
https://www.dropbox.com/s/lrdmchwdlvkzmi6/Chart-no-data.png
The users might get scary seeing this message. And the data is populated only after they do some actions on the form.
Thx
Hello Mitja,
Yes, you are correct. This message if more developer related, than user friendly. However, you can set EmptyChartText property of your chart to some more user friendly custom string.
Please let me know if any additional questions arise.
Is there a way to customize this message. It looks pretty dull.
https://www.dropbox.com/s/42dez7iu0qf3lr2/NoDataUgly.png
Hi Mitja,
Yes, you can set some custom appearance to the empty chart text. What you need to do is to handle InvalidDataReceived event of the chart. In the event handler arguments you will receive a reference to the LabelStyle and to the Text of the empty chart text. Use the LabelStyle to set the appearance of your message.
Attached is a small sample showing how to achieve this. Please check my sample and let me know if this is what you are looking for or if I am missing something.