Hi
Im reciving data form sensors and putting them into flot chart and i have problem with zooming.
How to set correct value of zoomRange and panRange on X, Y.
Im using now that settings but is not fine for me:
var min_m = <?php echo json_encode($min); ?>;
var max_m = <?php echo json_encode($max); ?>;
xaxis: {
mode: 'time',
timeformat: "%H:%M<br />%d/%m/%y",
zoomRange: [0.1, 3600000000],
panRange: [min_m,max_m]
},
yaxis: {
zoomRange: [0.1, 20],
panRange: [-30, 100]
},
Values I get are: temperature (from 2 sensors) and timestamp