Fix chart based on API changes.
Turn back on local plot variable for mouse events.