I am using a ZedGraph in the form of a window to display a histogram. The following code is executed when the user clicks a button.
zg1.GraphPane.AddBar("Series", null, y, Color.Red);
It adds an additional panel every time the user clicks a button. I am looking for a way to reset or clear data already in a chart.
How can i do this?
source
share