Actions
Feature #4373
closedInteractive charts: Consider making wheel mouse modifiers configurable
Start date:
08/04/2015
Due date:
% Done:
0%
Estimated time:
Description
The actions associated with wheel mouse modifiers on interactive charts are currently fixed with github version 3.3.3-82-g7b990a7. For instance, to zoom along both axes currently requires pressing the ctrl key while using the mouse wheel.
Attached for your consideration is a patch that provides a new method, setWheelActions(), to provide for a custom mapping of keyboard/mouse modifiers to various zoom and pan actions. The default behavior has been retained and ChartsExample.C has been modified to show how the new feature can be used.
The patch has been lightly tested. Feel free to modify it as you see fit.
Files
Actions