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.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
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