@yoziazri,
Resetting the maximum by setting it to null on adding new dataPoint should work fine in your case.
Please take a look at this gallery page which shows dynamic chart where maximum is auto-updated when a new dataPoint is added.
—-
Manoj Mohan
Team CanvasJS