Page 1 of 1

Ask for series style

Posted: Fri Jul 28, 2006 1:29 pm
by 9637396
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

Posted: Fri Jul 28, 2006 2:18 pm
by narcis
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));			
		}