I need to display the chart on click of a button in a web page.
On click of a button, I hit the DB to get data and bind them to the chart controls in the web page.
On second click of the button, the data is bound to the chart control for second time. this makes bar chart with two colors for each of the data bound to it.
I need to clear the datasource set to chart and reassign new datasource. How can this me achieved? Help me with some suggestions.