Skip to main content

PolarArcZoomModifier

The PolarArcZoomModifieršŸ“˜ is a modifier that allows users to zoom in on a specific arc of a polar chart. It provides a visual feedback mechanism for selecting the area to zoom in on, enhancing the user experience by allowing for focused analysis of specific data ranges.

Adding a PolarArcZoomModifier to a Chart​

A PolarArcZoomModifieršŸ“˜ can be added to the sciChartSurface.chartModifiers collection to enable zoom to fit behavior using a user-drawn arc selection. It is the polar counterpart of the XyRubberBandZoomModifier - used on the Cartesian 2D charts.

For example:

const { PolarArcZoomModifier, easing } = SciChart;
// or for npm: import { PolarArcZoomModifier, easing } from "scichart";

// const { sciChartSurface, wasmContext } = await SciChartPolarSurface.create(divElementId, {})
// ...

// Add PolarArcZoomModifier behaviour to the chart
sciChartSurface.chartModifiers.add(
new PolarArcZoomModifier({
isAnimated: true,
fill: "#50C7E022",
strokeThickness: 5,
stroke: "white",
animationDuration: 2000,
easingFunction: easing.outCubic,
}),
);

This results in the following behavior:

See Also:​