Charts: Fixed y-Axis?

Hi!

Is it possible to set a fixed scale for the y-axis of a chart item? For example, this is my chart for the weather temperature:
https://i.imgur.com/maCC1fI.png

The y-axis scale is based on the existing values and displays min -> max. I’d like to fix the y-axis / temperature to display a scale from -10 to 30 °C.

Is that possible in any way?

Thanks!

1 Like

No. With the built in charting what you see is what you get. If you want more control you need to look elsewhere for your charting needs. I highly recommend the InfluxDB+Grafana approach.

1 Like

But I think there is some “dirty” method.
I created 2 new items

Number Chart_limit_low      "Linia ograniczająca niska" (group_temperature)
Number Chart_limit_high      "Linia ograniczająca wysoka" (group_temperature)

Added them to rrd4j.persist & mapdb.persist file and also to the same group like my outside temperature.
In sitemap created

Setpoint item=Chart_limit_low label="Linia ograniczająca niska [%.0f °C]"
Setpoint item=Chart_limit_high label="Linia ograniczająca wysoka [%.0f °C]"

for limit low set 0 and limit high set 25 and my chart looks better. Because this values remain same all the time so the chart “scale” let’s say will looks same all the time. I know that this is some around method but like for me works fine :slight_smile:

This is my first post here - sorry if it’s not perfect :slight_smile:
I’m beginner but I would like to share my experience also.

3 Likes