# Set y-max that could also be lower (automatically)

**URL:** <https://discourse.nodered.org/t/set-y-max-that-could-also-be-lower-automatically/35872>\
**Category:** Dashboard\
**Created:** [13 November 2020 16:04 UTC](https://discourse.nodered.org/t/set-y-max-that-could-also-be-lower-automatically/35872 "2020-11-13T16:04:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![memoAr](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@memoAr](https://discourse.nodered.org/u/memoAr)\
**Post date:** [13 November 2020 16:04 UTC](https://discourse.nodered.org/t/set-y-max-that-could-also-be-lower-automatically/35872/1 "2020-11-13T16:04:29Z")

</div>

Hi Guys,  
I want to set the y max for my chart to 100%.  
But I don't want it to be shown the whole time...so I like that node-red dashboard is adjusting the axis itself like sometimes it just shows from 95-98% (depending on if the percentage value reached 100% in the last period)... but I don't want that for example 105% is ever shown, so the y max should be 100% in the max case but could also be less.

Is there a solution for this very special problem?  
Thank you in advance!!

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [13 November 2020 18:47 UTC](https://discourse.nodered.org/t/set-y-max-that-could-also-be-lower-automatically/35872/2 "2020-11-13T18:47:53Z")

</div>

Hi - not automatically no... You could perhaps play with ui\_control messages to set the limits via a message but then you have to monitor the values and send adjustments as you go.

---

<div class="post-metadata">

**Author:** ![memoAr](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@memoAr](https://discourse.nodered.org/u/memoAr)\
**Post date:** [16 November 2020 07:11 UTC](https://discourse.nodered.org/t/set-y-max-that-could-also-be-lower-automatically/35872/3 "2020-11-16T07:11:39Z")

</div>

Ok, what a pitty... Thank you for your answer anyway!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [16 December 2020 07:11 UTC](https://discourse.nodered.org/t/set-y-max-that-could-also-be-lower-automatically/35872/4 "2020-12-16T07:11:39Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
