# Graphs: ability to set the Y-axis scale (min / max)

**URL:** <https://community.gladysassistant.com/t/graphiques-pouvoir-regler-lechelle-de-laxe-y-min-max/11051>\
**Category:** Demande de fonctionnalités\
**Tags:** integration-externe\
**Created:** [October 11, 2026, 9:33pm UTC](https://community.gladysassistant.com/t/graphiques-pouvoir-regler-lechelle-de-laxe-y-min-max/11051 "2026-10-11T21:33:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [October 11, 2026, 9:33pm UTC](https://community.gladysassistant.com/t/graphiques-pouvoir-regler-lechelle-de-laxe-y-min-max/11051/1 "2026-10-11T21:33:24Z")

</div>

Hello everyone,

**The need**  
Today, the vertical scale (Y-axis) of the graphs is always automatic: it starts from the highest displayed value.  
When there is a large spike, the rest of the graph becomes «&nbsp;flat&nbsp;» and you can no longer see the small daily variations.

Concrete example with Veolia integration (water): a day at 800 L due to a leak or a pool filling, and the normal days at 150 L look like small lines.  
The problem is the same for gas, electricity, temperature…

**What I propose**

1. **Dashboard « Chart » box** : an option « Y-axis scale »
  - Automatic (as today, by default)
  - Manual: a minimum and/or maximum to enter

2. **External integration widgets (SDK)**: two optional fields on the chart component, for example y\_min and y\_max.  
An integration could then offer this setting in the parameters of its widget.

**Why this is not feasible on the integration side**  
The chart component of the SDK has no scale setting (« zero styling »), and the Chart box only has the option « Show axes ».  
The only solution on the integration side would be to cut off values above a threshold, which would distort the graph.

**Technical side**  
ApexCharts already knows how to do this with yaxis.min and yaxis.max. The change should therefore remain small.  
A value above the max could simply be cut off at the top of the graph, as ApexCharts does by default.

Thanks! 🙂
