Auto-scaling issue when using null points
Posted: Wed Feb 15, 2012 4:45 am
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
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