newer version of typescript
added 'max number of points'
if x-axis is time, it is now displayed in minutes instead of seconds