Reset Axes in XY classic chart

Hi,
I am using Classic chart in vision. In chart if we right click we have option for Reset Axes
Is there any way to call the Reset axes in script?
resetaxis
Can any one help me out in this?

From scripting, just call referenceToChartComponent.createChart(); that’s all the implementation of ‘reset axes’ actually does for the classic chart.

Thanks a lot for your help