Click or drag to resize
Ab4d.SharpEngine logo

AxesBoxNodeSetAxisDataRange Method

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

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public void SetAxisDataRange(
	AxesBoxNodeAxisTypes axis,
	float minimumValue,
	float maximumValue,
	float majorTicksStep,
	float minorTicksStep,
	bool snapMaximumValueToMajorTicks = true
)

Parameters

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