AmChart line chart keeps on expanding on value Axis

I'm building a line chart and I use Chrome dev tool to debug it like in the picture below.

enter image description here

For some reason when I click on next so that the debugger continues execution the chart expands downwards continuously extending the value axis like in the picture below:

enter image description here