CursorTool Z position in Point3D series
Posted: Tue Aug 01, 2006 4:02 am
A CursorTool does not change its Z Depth axis position for a Point3D series. It seems that the Z Depth axis value for the cursortool is always the Z value of the last data value added to the series.
series1.AddXYZ(1,1,1);
series1.AddXYZ(3,2,5);
series1.AddXYZ(7,4,3);
series1.AddXYZ(2,3,2);
series1.AddXYZ(5,5,4);
Add a Rotate tool. Rotate the chart so that you are looking from x axis maximum towards x minimum. The default y axis yellow depth wall will be at the back of the chart. Notice that the cursortool Z position is Z=4 which is the last data value added. Z=4 no matter what ValueIndex the cursortool is moved to (by dragging or snapping).
This makes the cursortool appear to not lie at the data value position if the chart view is rotated at all, especially if its Style property is Both.
A NearestPoint tool shows its line drawn to the correwct Z depth axis value.
Is there a way to assign the Z depth axis value for the cursortool ? If so, the NearestPoint tool could be used to obtain the ValueIndex and from that set the correct cursortool Z value.
This problem seems to exist for other 3D series as well.
Steve
series1.AddXYZ(1,1,1);
series1.AddXYZ(3,2,5);
series1.AddXYZ(7,4,3);
series1.AddXYZ(2,3,2);
series1.AddXYZ(5,5,4);
Add a Rotate tool. Rotate the chart so that you are looking from x axis maximum towards x minimum. The default y axis yellow depth wall will be at the back of the chart. Notice that the cursortool Z position is Z=4 which is the last data value added. Z=4 no matter what ValueIndex the cursortool is moved to (by dragging or snapping).
This makes the cursortool appear to not lie at the data value position if the chart view is rotated at all, especially if its Style property is Both.
A NearestPoint tool shows its line drawn to the correwct Z depth axis value.
Is there a way to assign the Z depth axis value for the cursortool ? If so, the NearestPoint tool could be used to obtain the ValueIndex and from that set the correct cursortool Z value.
This problem seems to exist for other 3D series as well.
Steve