The getUserActionOnMouseDown lambda of the events config can be used to customize whick key trigger which user action (zoom, pan, select...). Here, we change the default key (CTRL or META) for zoom to the ALT key. You can now press ALT, then click drag the mouse to zoom on a part of the chart.
comments