himpact Posted November 2, 2007 Report Share Posted November 2, 2007 Hi, I cannot get the chart to clear using the Data.Clear() methods. It always reset it to the default charts point that are shown in designer mode. Am I missing some step? The methods is call in FormLoad() Thanks HL Quote Link to comment Share on other sites More sharing options...
Frank Posted November 2, 2007 Report Share Posted November 2, 2007 Try this: chart1.Data[0,0] = 0; chart1.Data.Clear(); Quote Link to comment Share on other sites More sharing options...
himpact Posted November 2, 2007 Author Report Share Posted November 2, 2007 Strangely enough, that Work! Thanks Frank.. Now how would one get rid of the "No Data Available" Quote Link to comment Share on other sites More sharing options...
Frank Posted November 2, 2007 Report Share Posted November 2, 2007 Oh! C'mon man you're picky :-) Here it is: chart1.SetMessageText("NoData","Sorry, nothing to plot"); Quote Link to comment Share on other sites More sharing options...
himpact Posted November 5, 2007 Author Report Share Posted November 5, 2007 Haha.. Thanks Again Frank! 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.