I use Dundas chart controls and Microsoft chart controls for .NET. I currently have a method that populates a chart control with a date from a general list.
Let's say that I fill the chart with data from one list. Then I want to populate the chart with data from another list.
I have a problem filling the chart with data from the second list. I get a chart that displays the combined data from list 1 and list 2, while I want it to display only the data from the first list, and then clear the chart before displaying the data from the second list.
I tried various method calls to clear the chart control before filling it with data from the second list, but to no avail.
Is there any way to do this?
source
share