-
public final class VicoZoomStateHouses information on a CartesianChart’s zoom factor. Allows for zoom customization.
-
-
Field Summary
Fields Modifier and Type Field Description private Floatvalueprivate ClosedFloatingPointRange<Float>valueRange
-
Constructor Summary
Constructors Constructor Description VicoZoomState(Boolean zoomEnabled, Zoom initialZoom, Zoom minZoom, Zoom maxZoom)Houses information on a CartesianChart’s zoom factor.
-
Method Summary
Modifier and Type Method Description final FloatgetValue()final UnitsetValue(Float value)final ClosedFloatingPointRange<Float>getValueRange()final UnitsetValueRange(ClosedFloatingPointRange<Float> valueRange)final Unitzoom(Zoom zoom)Triggers a zoom. -
-
Constructor Detail
-
VicoZoomState
VicoZoomState(Boolean zoomEnabled, Zoom initialZoom, Zoom minZoom, Zoom maxZoom)
Houses information on a CartesianChart’s zoom factor.- Parameters:
zoomEnabled- whether zoom is enabled.initialZoom- represents the initial zoom factor.minZoom- represents the minimum zoom factor.maxZoom- represents the maximum zoom factor.
-
-
Method Detail
-
getValueRange
final ClosedFloatingPointRange<Float> getValueRange()
-
setValueRange
final Unit setValueRange(ClosedFloatingPointRange<Float> valueRange)
-
-
-
-