XavierBerger / RPi-Monitor

Real time monitoring for embedded devices
https://xavierberger.github.io/RPi-Monitor-docs/index.html
GNU General Public License v3.0
1.16k stars 176 forks source link

Is it possible to force the y-axis graph in statistics to start at 0 ? #370

Closed gilarelli closed 3 years ago

gilarelli commented 3 years ago

Hello,

Does a parameter exists to force the y-axis graph in statistics to start at 0 ? Is it possible at all beside (maybe) adding another data set to 0 ?

What I have : image

What I want : image

Thanks!

psa-jforestier commented 3 years ago

hello Here is a sample line of my conf file : web.statistics.2.content.1.graph_options.y2axis={ position: "right", min: 0, max: 100 }

gilarelli commented 3 years ago

Thanks for telling me where to look for an answer !

This did the trick for me : image image