rohan Posted May 11, 2007 Report Share Posted May 11, 2007 hi, I'm using doughnut chart. I dynamically add values and shows chart. Problem is when i want to create new chart with different values it does not changes the values which were there before instead it appends the newer values. I tried cleardata function but it either shows null exception or it doesnot do anything with differnet flags. Can any body suggest me how to clear the data and replace it with new one. (Everytime no of values may change) Link to comment Share on other sites More sharing options...
Frank Posted May 11, 2007 Report Share Posted May 11, 2007 The data is never appended. However, unless you clear thre data, any data you set will replace what's already there. To clear the data do: chart.Data.Clear() Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.