 |
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.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic 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