Page 1 of 1

Labels on Surface series

Posted: Wed Dec 01, 2004 7:29 pm
by 8119852
In the TeeChart Pro gallery:

http://www.steema.com/products/teechart/gallery.html

there is an image illustrating the Surface series. Would it be possible to get the source code for that particular chart image? The thing I am most interested in is how to put the labels on the Surface series - the numbers floating on the surface that actually indicate the values.

Posted: Thu Dec 02, 2004 9:30 am
by narcis
Hi mweaver,

to do this you have to edit the series marks. You can do it easily using the editor or by code doing something like:

Code: Select all

Steema.TeeChart.Styles.SeriesMarks marks=this.tChart1.Series[0].Marks ;
			
marks.Visible = true;
marks.Transparent = true;
marks.DrawEvery = 8;
marks.Style = Steema.TeeChart.Styles.MarksStyles.Value;