Creates an instance of PolarZoomExtentsModifier
Optional parameters to configure the modifier via IPolarZoomExtentsModifierOptions
Stores info about active pointerdown events
Defines the duration of animations when zooming in milliseconds
Whether the modifier applies when the mouse is over the axes. Default true.
Whether the modifier applies when the mouse is over the area where series are drawn (ie not over the axes). Default true.
Get or sets the center point for both axes. By default the initial center point for X axis is used.
Defines the easing function for animation. See TEasingFn for a range of functions
A unique Id for the IChartModifierBase
The helper property to get and set the list of included renderable series
The helper property to get and set the list of included X axes
The helper property to get and set the list of included Y axes
Get or sets inner radius for the radial axis. By default the initial inner radius is used.
A callback to invalidate the parent SciChartSurfaceBase
When true, the Zoom operations are animated. See also animationDuration and easingFunction
Get or sets lengthScale for radian axis. By default the initial total angle is used.
Specifies a string ID to group modifiers.
A function to execute when zoomExtents is activated. If this exists and returns false, the builtin behaviour is ignored;
Gets of sets flag to reset center point for X and Y axes
Gets of sets flag to reset inner radius for the radial axis
Gets of sets flag to reset length scale for radial axis
Get or sets flag to reset X and Y visible ranges
Get or sets flag to reset start angles for X and Y axes
Get or sets flag to reset total angle for the angular axis
Gets or sets total angle for angular axis. By default the initial total angle is used.
Gets or sets start angle for X axis. By default the initial start angle is used.
Direction to which the modifier can be applied
Gets or sets start angle for Y axis. By default the initial start angle is used.
When true, this modifier can receive mouse events
The primary action execute condition that modifier should respond to
The primary action execute condition that modifier should respond to
When true, the modifier is attached to a SciChartSurfaceBase
When true, the modifier is enabled
When true, the modifier is enabled
The type of Chart Modifier, see EModifierType for a list of values
When true, this modifier should receive events which have been handled by modifiers higher up in the call hierachy.
When true, this modifier should receive events which have been handled by modifiers higher up in the call hierachy.
The secondary action execute condition that modifier should respond to
The secondary action execute condition that modifier should respond to
Applies a theme (defined by IThemeProvider) to the current element
The theme data to apply
Checks execute condition
Checks execute primary and secondary conditions
Deletes native (WebAssembly) memory used by this type, after which it cannot be used.
Gets all series on the parent surface.
Returns all visible and included renderable series. The list also contains included visible stacked renderable series This calls this.testIsIncludedSeries so it is best to customise the including check behaviour there.
Returns the list of included X axes
Returns the list of included Y axes
Checks if event conditions should trigger the modifier action
current event info as ModifierMouseArgs
Grows the Axis by a fraction around the mouse point
the X,Y location of the mouse at the time of the operation
the Axis to grow or shrink
the fraction, e.g. 0.1 grows the axis by 10%
Includes all X and Y axes
Includes renderable series. Returns True if the included items list has changed after the operation.
Includes or excludes X axis
Includes or excludes Y axis
Called when the modifier is attached to a parent SciChartSurfaceBase
Called when a RenderableSeries is attached to this modifier
Called when a SciChartSubSurface} is attached to the parent SciChartSurface
Called when the modifier is detached from a parent SciChartSurfaceBase
Called when a RenderableSeries is detached from this modifier
Called when a SciChartSubSurface is detached from the parent SciChartSurface
Called when the parent SciChartSurfaceBase is rendered
Sets the parent SciChartSurfaceBase on this modifier
Generated using TypeDoc
The PolarZoomExtentsModifier provides double-tap or double-click to zoom-to-fit (Zoom Extents) behavior on a 2D SciChartPolarSurface within SciChart - High Performance JavaScript Charts
To apply the PolarZoomExtentsModifier to a SciChartPolarSurface and add drag to zoom behavior, use the following code:
const sciChartSurface: SciChartPolarSurface; sciChartSurface.chartModifiers.add(new PolarZoomExtentsModifier());Animation of the zoom extents be controlled via the PolarZoomExtentsModifier.isAnimated, PolarZoomExtentsModifier.animationDuration and PolarZoomExtentsModifier.easingFunction properties.
📚 Docs: https://www.scichart.com/documentation/js/v4/2d-charts/chart-modifier-api/polar-modifiers/polar-zoom-extents-modifier/