HighchartsChartZoomingOptions class
Chart zooming options.
API Docs: https://api.highcharts.com/highcharts/chart.zooming
- Inheritance
-
- Object
- HighchartsOptionsBase
- HighchartsChartZoomingOptions
Constructors
- HighchartsChartZoomingOptions.new({String? key, HighchartsChartZoomingMouseWheelOptions? mouseWheel, String? pinchType, HighchartsChartZoomingResetButtonOptions? resetButton, bool? singleTouch, String? type})
- Chart zooming options.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key ↔ String?
-
Set a key to hold when dragging to zoom the chart. This is useful to
avoid zooming while moving points. Should be set different than
chart.panKey.
getter/setter pair
- mouseWheel ↔ HighchartsChartZoomingMouseWheelOptions?
-
The mouse wheel zoom is a feature included in Highcharts Stock, but is also
available for Highcharts Core as a module. Zooming with the mouse wheel is
enabled by default in Highcharts Stock. In Highcharts Core it is enabled if
chart.zooming.type is set. It can be disabled by
setting this option to
false
.getter/setter pair - pinchType ↔ String?
-
Equivalent to type, but for multitouch
gestures only. By default, the
pinchType
is the same as thetype
setting. However, pinching can be enabled separately in some cases, for example in stock charts where a mouse drag pans the chart, while pinching is enabled. When tooltip.followTouchMove is true, pinchType only applies to two-finger touches.getter/setter pair - resetButton ↔ HighchartsChartZoomingResetButtonOptions?
-
The button that appears after a selection zoom, allowing the user
to reset zoom.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- singleTouch ↔ bool?
-
Enables zooming by a single touch, in combination with
chart.zooming.type. When enabled, two-finger
pinch will still work as set up by
chart.zooming.pinchType
(#chart.zooming.pinchType). However,singleTouch
will interfere with touch-dragging the chart to read the tooltip. And especially when vertical zooming is enabled, it will make it hard to scroll vertically on the page.getter/setter pair - type ↔ String?
-
Decides in what dimensions the user can zoom by dragging the mouse.
Can be one of
x
,y
orxy
.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → String -
Serializes the settings to a JSON string.
inherited
-
toOptionsJSON(
StringBuffer buffer) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited