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 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(); 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" 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"); 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! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.