Hi,
I'm using a Point3D series to draw multiple traces (points with lines between them). Each trace is separated by a null point to prevent the line being drawn between the end of one trace and the start of another. If I add the null point using points3D1.Add(), then the automatically determined x-scale maximum seems to be set to the number of points, rather than the actual maximum x value.
I have found a workaround for the moment by replacing Add() with Add(lastx, lasty, lastz, Color.Transparent), but would like to be able to use the null value as I understand it was intended. I've attached a solution to easily demonstrate the problem.
Regards,
Michael Lofgren
Auto-scaling issue when using null points
-
- Newbie
- Posts: 12
- Joined: Mon Feb 06, 2012 12:00 am
Auto-scaling issue when using null points
- Attachments
-
- GraphTest.zip
- (32.07 KiB) Downloaded 486 times
Re: Auto-scaling issue when using null points
Hello Michael,
First you need know that Add(lastx, lasty, lastz, Color.Transparent) is the correct way to add Null points, in the determinate point. On the other hand, I recommend you take a look in the demo project, concretely in All Features\Welcome !\Chart styles\Extended\Point 3D\Point3D Nulls where find other example as you do to add nulls in the point3D Series, that is very similar as you do.
Thanks,
First you need know that Add(lastx, lasty, lastz, Color.Transparent) is the correct way to add Null points, in the determinate point. On the other hand, I recommend you take a look in the demo project, concretely in All Features\Welcome !\Chart styles\Extended\Point 3D\Point3D Nulls where find other example as you do to add nulls in the point3D Series, that is very similar as you do.
Thanks,
Best Regards,
Sandra Pazos / 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 |
-
- Newbie
- Posts: 12
- Joined: Mon Feb 06, 2012 12:00 am
Re: Auto-scaling issue when using null points
Thanks Sandra for the clarification. I was led to believe otherwise by the TeeChart Programmer's guide. The AddNull method says it is obsolete and to use the Add() method without parameters. And the Add(void) method says that it adds a new null (transparent) point. Perhaps the wording can be changed to be less confusing or something.
Regards,
Michael
Regards,
Michael
Re: Auto-scaling issue when using null points
Hello Michael,
Thanks for your suggestion, we investigate it and try to consider it for next maintenance releases.
Thanks,
Thanks for your suggestion, we investigate it and try to consider it for next maintenance releases.
Thanks,
Best Regards,
Sandra Pazos / 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 |