 |
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: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
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