Hans's is scaled 0-8 while mine is 0-40, obviously becasue of the few spikes I lave along the way.
Would like to be able to see the data between the spikes with a bit of zoom.
I've got as far as this page https://www.highcharts.com/docs/chart-concepts/zooming, but didn't find any reference to it in the code.
Assuming the X-Axis Zoom becomes enabled with the Range Selector & that Y-Axis zoom could be added with something like chart.zoomType: "y"
in the appropriate place.
Not sure what would happen to the default scaling...
Anyone got any suggestions?
Thanks
Phil.
Edit:
I did try adding the above in below here, but it broke it.
Code: Select all
title: { text: 'AirQuality Sensor Out for PM2p5'},
credits: { enabled: true},
xAxis: { type: 'datetime', ordinal: false, dateTimeLabelFormats: { day: '%e %b',week: '%e %b %y',month: '%b %y',year: '%Y'} },
yAxis:
Have also tried pinchType: "xy", but all variations of my Syntax just breaks things.
Pretty obvious I'm stumbling about; probably just a matter of the correct thing, right syntax & in the right place....