This sample shows how to dynamically change the range of Y-Axis.
https://stackblitz.com/edit/angular-cdrs7y