Easy Chart - Can Mode be set to X-Trace in a Script?

Is there a way to set the mode of an Easy Chart to X-Trace, zoom, or pan from within a script? Our operators and engineers often toggle between the zoom and x-trace mode. It would be a nice feature if a hot-key could be mapped to allow them to toggle between these modes.

Thanks,
Jeremy

Sure can:chart = event.source.parent.getComponent("Easy Chart") chart.setMode(value)Possible values:

0 Zoom
3 Mark
4 Trace