Click or drag to resize
AB4D logo

AxesBoxVisual3DSetAxisDataRange Method

SetAxisDataRange method sets the data range and ticks step for the specified axis.

Namespace: Ab3d.Visuals
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public void SetAxisDataRange(
	AxesBoxVisual3DAxisTypes axis,
	double minimumValue,
	double maximumValue,
	double majorTicksStep,
	double minorTicksStep,
	bool snapMaximumValueToMajorTicks = true
)

Parameters

axis  AxesBoxVisual3DAxisTypes
AxisTypes
minimumValue  Double
minimumValue
maximumValue  Double
maximumValue
majorTicksStep  Double
majorTicksStep
minorTicksStep  Double
minorTicksStep
snapMaximumValueToMajorTicks  Boolean  (Optional)
when true the maximum value is increased (if needed) so that it fall on the majorTicksStep
See Also