# Multiline Chart with JSONata

**URL:** <https://discourse.nodered.org/t/multiline-chart-with-jsonata/23032>\
**Category:** Dashboard\
**Created:** [12 March 2020 13:19 UTC](https://discourse.nodered.org/t/multiline-chart-with-jsonata/23032 "2020-03-12T13:19:16Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Post date:** [14 March 2020 03:21 UTC](https://discourse.nodered.org/t/multiline-chart-with-jsonata/23032/4 "2020-03-14T03:21:13Z")

</div>

> [@baqwas](#):
>
> However, the only Debug node that generated output was the Inject node:

It is working for me with the latest code you posted.

The code uses jsonata function `$distinct` that is somehow new (added with jsonata 1.7.0). What is the Node-RED version used in your testing ?

> [@tada Node-RED 1.0.3 Released](https://discourse.nodered.org/t/node-red-1-0-3-released/18247):
>
> A new maintenance release has been published - [https://github.com/node-red/node-red/releases/tag/1.0.3](https://github.com/node-red/node-red/releases/tag/1.0.3) Lots of minor fixes and updates to various dependencies. This includes JSONata 1.7.0 for those of you eager to make use of its latest features. Updated docker images are building and will be published soon.

---

_[View the full topic](https://discourse.nodered.org/t/multiline-chart-with-jsonata/23032)._
