# Dashboard 2.0: Bug. The chart loses the value of the second parameter if it is the same as the value of the first and does not draw a line

**URL:** <https://discourse.nodered.org/t/dashboard-2-0-bug-the-chart-loses-the-value-of-the-second-parameter-if-it-is-the-same-as-the-value-of-the-first-and-does-not-draw-a-line/100466>\
**Category:** Dashboard\
**Tags:** node-red-dashboard, chart, dashboard-2\
**Created:** [27 February 2026 16:12 UTC](https://discourse.nodered.org/t/dashboard-2-0-bug-the-chart-loses-the-value-of-the-second-parameter-if-it-is-the-same-as-the-value-of-the-first-and-does-not-draw-a-line/100466 "2026-02-27T16:12:29Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [27 February 2026 16:54 UTC](https://discourse.nodered.org/t/dashboard-2-0-bug-the-chart-loses-the-value-of-the-second-parameter-if-it-is-the-same-as-the-value-of-the-first-and-does-not-draw-a-line/100466/4 "2026-02-27T16:54:17Z")

</div>

When exporting and pasting your flow, in order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

_[View the full topic](https://discourse.nodered.org/t/dashboard-2-0-bug-the-chart-loses-the-value-of-the-second-parameter-if-it-is-the-same-as-the-value-of-the-first-and-does-not-draw-a-line/100466)._
