Alex Deux Posted February 9, 2010 Report Share Posted February 9, 2010 Hello. I've seen a lot of threads about the "No Data Available" message appearing on the charts and people wanting to disable it. I, on the other hand, am having the issue that when there's no data on the chart it displays the "sample data" same as in the Development Window with the Database column names as the X axis, etc. As soon as there's data avaialble, the chart displays correctly. How could I Enable the message to appear when there's no data??? Quote Link to comment Share on other sites More sharing options...
RandyJ Posted February 17, 2010 Report Share Posted February 17, 2010 Hi, This can be easily done by calling the clear method of the chart to remove existing data. Take a look at the following sample: [C#] chart1.Data.Clear(); Regards, RandyJ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.