Take a look at plotly.js instead. There is a nice example here on the forum. Doesnt require any installation and can be implemented directly with ui-template nodes.
Look at example 3 and modify it's parameters in the bottom of the ui-template node to:
Plotly.newPlot('example3', data, layout, { modeBarButtonsToRemove: ['toggleSpikelines'], displaylogo: false})
Deploy and refresh the dashboard, you will see all kinds of buttons appear, including download as image and it supports zooming among many other features.