# Display datas from influx in an UI-Chart

**URL:** <https://discourse.nodered.org/t/display-datas-from-influx-in-an-ui-chart/38579>\
**Category:** Dashboard\
**Created:** [5 January 2021 10:43 UTC](https://discourse.nodered.org/t/display-datas-from-influx-in-an-ui-chart/38579 "2021-01-05T10:43:36Z")\
**Posts on this page:** 3\
**Page:** 3

<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:** [23 January 2021 18:24 UTC](https://discourse.nodered.org/t/display-datas-from-influx-in-an-ui-chart/38579/42 "2021-01-23T18:24:36Z")

</div>

The function you show did not produce the data you said you were getting (the one with the extra bracket). In the function it should be something like  
`msg.payload.map(point => {return {x: point[0], y: point[1]}});`

---

<div class="post-metadata">

**Author:** ![nicobauer](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nicobauer/32/34761_2.png) [@nicobauer](https://discourse.nodered.org/u/nicobauer)\
**Post date:** [23 January 2021 19:04 UTC](https://discourse.nodered.org/t/display-datas-from-influx-in-an-ui-chart/38579/43 "2021-01-23T19:04:44Z")

</div>

Thanks. Now al work.

---

<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:** [6 February 2021 19:05 UTC](https://discourse.nodered.org/t/display-datas-from-influx-in-an-ui-chart/38579/44 "2021-02-06T19:05:21Z")

</div>

Closed on 6 February 2021 19:05 UTC

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

[Previous page](https://discourse.nodered.org/t/display-datas-from-influx-in-an-ui-chart/38579.md?page=2)
