# Chart.js node not working

**URL:** <https://discourse.nodered.org/t/chart-js-node-not-working/23333>\
**Category:** General\
**Created:** [19 March 2020 23:32 UTC](https://discourse.nodered.org/t/chart-js-node-not-working/23333 "2020-03-19T23:32:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![axelcamos](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@axelcamos](https://discourse.nodered.org/u/axelcamos)\
**Post date:** [19 March 2020 23:32 UTC](https://discourse.nodered.org/t/chart-js-node-not-working/23333/1 "2020-03-19T23:32:28Z")

</div>

Hi every one!

I'm want to use chart.js node ([https://flows.nodered.org/node/node-red-contrib-chartjs](https://flows.nodered.org/node/node-red-contrib-chartjs)), but it doesn't works, don't show anything on the chart. What i'm trying to do it's show the temperature in y axis and the date in the x axis. In the payload to lineChartjs I put the object as the node documentation says, but still not working.  
This is the payload:

```auto
msg.payload : Object
object
channel: "Chart"
color: "Red"
dataset: "[{"fecha":"2020-03-06T23:00:00.000Z","tempMax":25},{"fecha":"2020-03-07T23:00:00.000Z","tempMax":21.5},{"fecha":"2020-03-08T23:00:00.000Z","tempMax":22.1},{"fecha":"2020-03-09T23:00:00.000Z","tempMax":17.5},{"fecha":"2020-03-10T23:00:00.000Z","tempMax":20},{"fecha":"2020-03-11T23:00:00.000Z","tempMax":22.3},{"fecha":"2020-03-12T23:00:00.000Z","tempMax":23.2},{"fecha":"2020-03-13T23:00:00.000Z","tempMax":20},{"fecha":"2020-03-14T23:00:00.000Z","tempMax":19.1},{"fecha":"2020-03-15T23:00:00.000Z","tempMax":15.4},{"fecha":"2020-03-16T23:00:00.000Z","tempMax":17.5},{"fecha":"2020-03-17T23:00:00.000Z","tempMax":20},{"fecha":"2020-03-18T23:00:00.000Z","tempMax":19.7}]"

```

The data "fecha" and "tempMax" come's from a mysql DB  
Any one knows what's not working? I can't see why not works...

Thanks for your help!

---

<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:** [18 May 2020 23:32 UTC](https://discourse.nodered.org/t/chart-js-node-not-working/23333/2 "2020-05-18T23:32:28Z")

</div>

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