Hello Kirk45,
According to the VB Help, you can set the range of the x-axis in the following way:
'Set the minimum and maximum values of the x-axis
CWGraph3D1.Axes.Item(1).Minimum = 0
CWGraph3D1.Axes.Item(1).Maximum = 100
So you would need to get a handle to the x-axis and then pass this handle to the CW3DGraphLib_CWAxis3DSetMaximum function. An example call would look like:
GetObjHandleFromActiveXCtrl (panelHandle, PANEL_CW3DGRAPH, &objectHandle);
CW3DGraphLib__DCWGraph3DGetAxes(objectHandle, NULL,&axesHandle);
CW3DGraphLib_CWAxes3DItem (axesHandle, NULL, CA_VariantInt(1), &xaxisHandle);
CW3DGraphLib_CWAxis3DSetMaximum (xaxisHandle, NULL,CA_VariantInt(100));
Thanks.
Wendy L
LabWindows/CVI Developer Newsletter