I looked in the sample code and only find the FillSampleValues method used.
I'm looking for a Series.AddXYZ or something like that.
Thanks.
How do you Programatically Add a 3d Point to a 3d Line serie
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: How do you Programatically Add a 3d Point to a 3d Line serie
Hi jzarech,
There are a number of overloads for Add method one of them admitting 3 double coordinates: x, y and z, for example:
There are a number of overloads for Add method one of them admitting 3 double coordinates: x, y and z, for example:
Code: Select all
Steema.TeeChart.Styles.Points3D points3D1 = new Steema.TeeChart.Styles.Points3D(tChart1.Chart);
Random y = new Random();
for (int x = 0; x < 10; x++)
{
for (int z = 0; z < 10; z++)
{
points3D1.Add(x, y.Next(), z);
}
}
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 |
Re: How do you Programatically Add a 3d Point to a 3d Line serie
Thanks that was fast! Been a TeeChart customer since the beginning and you get better and better every year! Keep up the good work.