Auto Axes in QML Lineseries Charts

In line series charts, i was append the c++ data to qml. Herewith add coding for your reference. In that i need to auto adjust the X and Y axes minimum and maximum value based on the received data from c++.