Hi,
could anyone please tell me how can I change a style of one graph series on the run time.
For examle, I would like to swith from the pie type to the line (or bar) type and viceversa by the code. I'm using C#.
Thanks a lot.
Andrea Stella.
Change Style....
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Andrea,
Yes, you can do it using:
Yes, you can do it using:
Code: Select all
private void button1_Click(object sender, System.EventArgs e)
{
Steema.TeeChart.Styles.Series s=tChart1[0];
Steema.TeeChart.Styles.Series.ChangeType(ref s,typeof(Steema.TeeChart.Styles.Bar));
}
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |