Does anybody know how to delete/remove the chart series through code instead of doing it manually?
I'm creating a chart which series values depends on a query result. I've previously creating it manually, but along with the changes in the query result, I intend to add seriescollection dynamically though code. However, if the today's query results in 20 records, and then next day's query results in 10 only. I'll have over 10 series. That's why I'm thinking of removing all series everytime.
Any help is appreciated.
I'm creating a chart which series values depends on a query result. I've previously creating it manually, but along with the changes in the query result, I intend to add seriescollection dynamically though code. However, if the today's query results in 20 records, and then next day's query results in 10 only. I'll have over 10 series. That's why I'm thinking of removing all series everytime.
Any help is appreciated.