Click here to Skip to main content
15,891,763 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi all,

I am using chart control in .NET 3.5 Framework.I have multiple series.But now i want to hide one of the series or make that series invisible.how can do it through C# or VB .net code?????????

Thanks & Regards
YOGESH
Posted

1 solution

Answer can be found in this thread;

http://www.xtremevbtalk.com/showthread.php?t=142480[^]

basically;
VB
With MSChart1.Plot
   For i=1 To MSChart1.ColumnCount
    .SeriesCollection(i).Position.Hidden=True
   Next
End With
 
Share this answer
 
Comments
YOGESH DHAGE 29-Oct-10 7:58am    
Its great help sir

Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900