Ask for series style

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Lars Iversen
Newbie
Newbie
Posts: 61
Joined: Wed Jun 22, 2005 4:00 am
Location: cph

Ask for series style

Post by Lars Iversen » Fri Jul 28, 2006 1:29 pm

Hi

Is it possible to ask a series what style it is e.g. point style or line style.
Is there an enum I can use for these styles types?

Thanks in advance
Lars Iversen

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Jul 28, 2006 2:18 pm

Hi Lars,

Yes, here is an example:

Code: Select all

		private void button1_Click(object sender, System.EventArgs e)
		{
			Steema.TeeChart.Styles.Series s=tChart1[0]; 
      
			if(s is Steema.TeeChart.Styles.Custom3DGrid)
				(s as Steema.TeeChart.Styles.Custom3DGrid).IrregularGrid = false;

			Steema.TeeChart.Styles.Series.ChangeType(ref s,typeof(Steema.TeeChart.Styles.Tower));			
		}
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply