I have a chart and 3 triSurface series. After adding points to these series some part of them is not filled, so that series is not fully drawn(in my example these points are the first points in each serie).
That's why I need to add them again(after that action series are drawn properly). Is this a feature of a bug? If first, could you tell me rules that I take into account while drawing triSurface series.
Thank you.
Problem with some points triSurface
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi bairog,
You have to be careful with the structure of all series styles derived from Custom3D (Trisurface included). Those series work like a matrix where the cells are defined by X (rows) and Z (columns) values and each cell value is determined by Y values. You have to design your series as being able to be populate by a for nested loop as:
If X and Z values are not equidistant then you should use:
Regarding you issue, could you please send us a simple example we can run "as-is" to reproduce the problem here?
You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
Thanks in advance.
You have to be careful with the structure of all series styles derived from Custom3D (Trisurface included). Those series work like a matrix where the cells are defined by X (rows) and Z (columns) values and each cell value is determined by Y values. You have to design your series as being able to be populate by a for nested loop as:
Code: Select all
for (int x=0; x<10; ++x)
for (int z=0; z<10; ++z)
if (x % 2 == 0)
surface1.Add(x,x*z,z);
Code: Select all
surface1.IrregularGrid=true;
You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
Thanks in advance.
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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi bairog,
Thank you very much for the example. We could reproduce the problem here and added it (TF02011649) to our defect list to be fixed for future releases.
Thank you very much for the example. We could reproduce the problem here and added it (TF02011649) to our defect list to be fixed for future releases.
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 |