If the ChartPanAndZoomBehavior is changed after the chart has been constructed then the Pan and Zoom bars on the chart are not updated to reflect the new behavior.
For example, the chart is constructed with a pan and zoom behavior set to allow both panning and zooming. Later, based on user interaction, the original pan and zoom behavior is removed and a new pan and zoom behavior that only allows panning is added. The user can no longer use the mouse to draw a rectangle to zoom the chart but the pan and zoom bars still have handles that let the user zoom.
Is there a way to get the pan and zoom bars to update to match the pan and zoom behavior?
Terry
For example, the chart is constructed with a pan and zoom behavior set to allow both panning and zooming. Later, based on user interaction, the original pan and zoom behavior is removed and a new pan and zoom behavior that only allows panning is added. The user can no longer use the mouse to draw a rectangle to zoom the chart but the pan and zoom bars still have handles that let the user zoom.
Is there a way to get the pan and zoom bars to update to match the pan and zoom behavior?
Terry