Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing series from chart with VB code

Status
Not open for further replies.

TTThio

Programmer
May 3, 2001
185
US
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.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top