Click or drag to resize
Ab4d.SharpEngine logo

AxisWithLabelsBaseNodeSetAxisDataRange Method

SetAxisDataRange method sets the data range and ticks steps for this axis. An advantage of this method is that it calls the RequestTickValuesRegeneration only once and not after each propety set.

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

Parameters

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