Skip to main content

PolarPanModifier

The PolarPanModifieršŸ“˜ is a modifier that allows users to pan (drag) the polar chart. This modifier is useful for enhancing the user experience by providing an intuitive way to navigate through the chart data.

tip

You can set the primaryPanModešŸ“˜ to EPolarPanModifierPanMode.Cartesian to pan the chart in Cartesian coordinates, or keep it to either EPolarPanModifierPanMode.PolarStartAngle or EPolarPanModifierPanMode.PolarVisibleRange to pan the chart in polar coordinates.

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

// Add PolarPanModifier behaviour to the chart
sciChartSurface.chartModifiers.add(
new PolarPanModifier({
primaryPanMode: EPolarPanModifierPanMode.PolarVisibleRange,

secondaryPanMode: EPolarPanModifierPanMode.Cartesian,

secondaryExecuteCondition: {
key: SciChart.EModifierMouseArgKey.Ctrl
}
}),
);

This results in the following behavior:

See Also:​