Interact with Chart Widget

How can I interact with a chart widget using javascript? So I can call something like chart.resetZoom()?
Was this page helpful?