# Dashboard Chart Y axis

**URL:** <https://discourse.nodered.org/t/dashboard-chart-y-axis/21090>\
**Category:** Dashboard\
**Created:** [31 January 2020 13:11 UTC](https://discourse.nodered.org/t/dashboard-chart-y-axis/21090 "2020-01-31T13:11:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MKaiser96](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@MKaiser96](https://discourse.nodered.org/u/MKaiser96)\
**Post date:** [31 January 2020 13:11 UTC](https://discourse.nodered.org/t/dashboard-chart-y-axis/21090/1 "2020-01-31T13:11:40Z")

</div>

Hi,

I want to display an On Off State in Dashboard. First I converted true to 1 and false to 0.  
The Chart looks like:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/6/06f00812962e674710ce191ac5bab9de728d07ee.png)

Is it possible to format the Y axis that there are no steps between 0 and 1? Another option may be to disable the Y axis.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [31 January 2020 13:46 UTC](https://discourse.nodered.org/t/dashboard-chart-y-axis/21090/2 "2020-01-31T13:46:46Z")

</div>

Why not use something like node-red-contrib-ui-led - you can turn it on or off based on the state

---

<div class="post-metadata">

**Author:** ![MKaiser96](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@MKaiser96](https://discourse.nodered.org/u/MKaiser96)\
**Post date:** [31 January 2020 13:52 UTC](https://discourse.nodered.org/t/dashboard-chart-y-axis/21090/3 "2020-01-31T13:52:58Z")

</div>

I want to visualize the on off states for the last 24 hours.

---

<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:** [31 January 2020 14:17 UTC](https://discourse.nodered.org/t/dashboard-chart-y-axis/21090/4 "2020-01-31T14:17:02Z")

</div>

Maybe this plugin ui node? [https://flows.nodered.org/node/node-red-contrib-ui-state-trail](https://flows.nodered.org/node/node-red-contrib-ui-state-trail)

---

<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:** [1 March 2020 14:17 UTC](https://discourse.nodered.org/t/dashboard-chart-y-axis/21090/5 "2020-03-01T14:17:03Z")

</div>

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