Reset Axes in XY classic chart

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?
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