# \#chart

**URL:** https://discourse.nodered.org/tag/chart/17.md

[Latest](https://discourse.nodered.org/latest.md) · [Categories](https://discourse.nodered.org/categories.md) · [Tags](https://discourse.nodered.org/tags.md)

---

## [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](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)

<div class="topic-metadata">

**Author:** [@teluse7](https://discourse.nodered.org/u/teluse7)\
**Replies:** 2\
**Last updated:** [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 "2026-02-27T16:54:17Z")

</div>

After update new version of dashboard 2.0, 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.

---

## [Line chart: maximum y axis values?](https://discourse.nodered.org/t/line-chart-maximum-y-axis-values/100455)

<div class="topic-metadata">

**Author:** [@metawops](https://discourse.nodered.org/u/metawops)\
**Replies:** 3\
**Last updated:** [26 February 2026 13:20 UTC](https://discourse.nodered.org/t/line-chart-maximum-y-axis-values/100455 "2026-02-26T13:20:49Z")

</div>

I'm using the astrodata node and wanted to plot the sun distance values (app. 148.100.000 km) on the y axis of a line chart. I had to divide the values by 1000 to make something happen. I was searching the docs for som…

---

## [\[Announce\] @gemini86/node-red-contrib-chart-image (NEW Chart.js 4.x update)](https://discourse.nodered.org/t/announce-gemini86-node-red-contrib-chart-image-new-chart-js-4-x-update/100349)

<div class="topic-metadata">

**Author:** [@gemini86](https://discourse.nodered.org/u/gemini86)\
**Replies:** 0\
**Last updated:** [9 February 2026 20:33 UTC](https://discourse.nodered.org/t/announce-gemini86-node-red-contrib-chart-image-new-chart-js-4-x-update/100349 "2026-02-09T20:33:54Z")

</div>

\---NEW UPDATE--- The old node sat stagnant for a while as I struggled to find the time and energy to update it to work with the latest chartjs-node-canvas changes. At the same time, node-canvas could not work on newer v…

---

## [ECharts: A big thank you and a short question](https://discourse.nodered.org/t/echarts-a-big-thank-you-and-a-short-question/99334)

<div class="topic-metadata">

**Author:** [@ceysa75](https://discourse.nodered.org/u/ceysa75)\
**Replies:** 15\
**Last updated:** [15 December 2025 11:13 UTC](https://discourse.nodered.org/t/echarts-a-big-thank-you-and-a-short-question/99334 "2025-12-15T11:13:44Z")

</div>

Dear all, First of all, I’d really like to thank you for switching the charts library and introducing ECharts. For the first time in years, I’m able to display multiple temperature curves simultaneously without knocking…

---

## [Line thickness of chart](https://discourse.nodered.org/t/line-thickness-of-chart/99599)

<div class="topic-metadata">

**Author:** [@MKaiser96](https://discourse.nodered.org/u/MKaiser96)\
**Replies:** 6\
**Last updated:** [6 November 2025 07:47 UTC](https://discourse.nodered.org/t/line-thickness-of-chart/99599 "2025-11-06T07:47:33Z")

</div>

Hello, I use the chart node in dashboard-2. How can I change the line thickness of the data line? In my case it is a bit too thick. Regards, Markus

---

## [Dashboard 2 line chart data format](https://discourse.nodered.org/t/dashboard-2-line-chart-data-format/99304)

<div class="topic-metadata">

**Author:** [@pedro\_uno](https://discourse.nodered.org/u/pedro_uno)\
**Replies:** 9\
**Last updated:** [9 October 2025 13:47 UTC](https://discourse.nodered.org/t/dashboard-2-line-chart-data-format/99304 "2025-10-09T13:47:48Z")

</div>

Hello, For reasons unrelated to this question I need to migrate a flow from Dashboard 1 to Dashboard 2. In Dashboard 1, I was feeding instrument data to a chart node, repetitively to make a waveform viewer that looked …

---

## [DB2 Chart not displaying data](https://discourse.nodered.org/t/db2-chart-not-displaying-data/98985)

<div class="topic-metadata">

**Author:** [@CJS](https://discourse.nodered.org/u/CJS)\
**Replies:** 28\
**Last updated:** [11 September 2025 13:53 UTC](https://discourse.nodered.org/t/db2-chart-not-displaying-data/98985 "2025-09-11T13:53:26Z")

</div>

I'm using DB2, and my chart was working perfectly fine until we changed the dashboard to update at a selected time. The chart indicates that it's receiving the data correctly, but it's not displaying anything, and the da…

---

## [Custom solution for Dashboard chart settings - font, point colour, axis labels, etc](https://discourse.nodered.org/t/custom-solution-for-dashboard-chart-settings-font-point-colour-axis-labels-etc/98961)

<div class="topic-metadata">

**Author:** [@Lukario250](https://discourse.nodered.org/u/Lukario250)\
**Replies:** 4\
**Last updated:** [6 September 2025 20:36 UTC](https://discourse.nodered.org/t/custom-solution-for-dashboard-chart-settings-font-point-colour-axis-labels-etc/98961 "2025-09-06T20:36:13Z")

</div>

Hello there I’m currently working on an IoT project so I had the need to customize Node-RED charts so what I did was to use a function before the chart where I modify all the settings for the chart so I can visualize it …

---

## [How to import the js file locally and why does the chartzoom register failed at second time?](https://discourse.nodered.org/t/how-to-import-the-js-file-locally-and-why-does-the-chartzoom-register-failed-at-second-time/98705)

<div class="topic-metadata">

**Author:** [@Kang](https://discourse.nodered.org/u/Kang)\
**Replies:** 3\
**Last updated:** [17 August 2025 12:45 UTC](https://discourse.nodered.org/t/how-to-import-the-js-file-locally-and-why-does-the-chartzoom-register-failed-at-second-time/98705 "2025-08-17T12:45:44Z")

</div>

Hi, I have this code using chartjs and chartjs-plugin-zoom. I met two problems: I can not load the hammerjs, chartjs and plugin-zoom js by local folder, I already downloaded three js files and put them at the node-r…

---

## [Chart js plugin pan mode is not available](https://discourse.nodered.org/t/chart-js-plugin-pan-mode-is-not-available/98621)

<div class="topic-metadata">

**Author:** [@Kang](https://discourse.nodered.org/u/Kang)\
**Replies:** 2\
**Last updated:** [12 August 2025 12:24 UTC](https://discourse.nodered.org/t/chart-js-plugin-pan-mode-is-not-available/98621 "2025-08-12T12:24:33Z")

</div>

Hi, I am using chart js and chart plugin in template node to implement the chart, I found the zoom feature is normal while the pan feature is not available. And I tried several ways to change the settings in plugin, it …

---

## [How to set the x axis of chart as numeric value?](https://discourse.nodered.org/t/how-to-set-the-x-axis-of-chart-as-numeric-value/98438)

<div class="topic-metadata">

**Author:** [@Kang](https://discourse.nodered.org/u/Kang)\
**Replies:** 2\
**Last updated:** [1 August 2025 11:33 UTC](https://discourse.nodered.org/t/how-to-set-the-x-axis-of-chart-as-numeric-value/98438 "2025-08-01T11:33:01Z")

</div>

Hi, sir I found the chart node’s X axis is using string type label to display, which will bring two problems below, how can I fix them? The X axis value is sorted by the X array index, not by the X array value itself.…

---

## [How to achieve line chart with x-y axis data from different node](https://discourse.nodered.org/t/how-to-achieve-line-chart-with-x-y-axis-data-from-different-node/98306)

<div class="topic-metadata">

**Author:** [@Kang](https://discourse.nodered.org/u/Kang)\
**Replies:** 13\
**Last updated:** [29 July 2025 03:15 UTC](https://discourse.nodered.org/t/how-to-achieve-line-chart-with-x-y-axis-data-from-different-node/98306 "2025-07-29T03:15:32Z")

</div>

Dear sir I can see the line chart function in the flow editor, and there is only one data source for Y axis, and the X axis seems to always be the time or points, what if I want to relate the X axis to another data node…

---

## [Trouble with data preparation for ui-chart in template node](https://discourse.nodered.org/t/trouble-with-data-preparation-for-ui-chart-in-template-node/98219)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 2\
**Last updated:** [20 July 2025 12:00 UTC](https://discourse.nodered.org/t/trouble-with-data-preparation-for-ui-chart-in-template-node/98219 "2025-07-20T12:00:22Z")

</div>

\[{"id":"58e784fbf7b146f2","type":"change","z":"9cd9fa2d0d2e7202","name":"Option-4","rules":\[{"t":"set","p":"payload","pt":"msg","to":"\[{\\"nick\\":\\"MSP1\\",\\"mc\\":\\"m01\\",\\"Machine\\":\\"MACHINE-1\\",\\"Downtime\\":17,\\"rdate\\"…

---

## [How can show time in bar chart dashboard 2.0](https://discourse.nodered.org/t/how-can-show-time-in-bar-chart-dashboard-2-0/96944)

<div class="topic-metadata">

**Author:** [@fares-31](https://discourse.nodered.org/u/fares-31)\
**Replies:** 4\
**Last updated:** [7 May 2025 14:07 UTC](https://discourse.nodered.org/t/how-can-show-time-in-bar-chart-dashboard-2-0/96944 "2025-05-07T14:07:09Z")

</div>

---

## [Chart Log Axis Configuration](https://discourse.nodered.org/t/chart-log-axis-configuration/96734)

<div class="topic-metadata">

**Author:** [@elegant\_dijkstra](https://discourse.nodered.org/u/elegant_dijkstra)\
**Replies:** 0\
**Last updated:** [24 April 2025 06:03 UTC](https://discourse.nodered.org/t/chart-log-axis-configuration/96734 "2025-04-24T06:03:52Z")

</div>

Hello to everyone, does anyone know of a way to set the number formatting on a log axis to avoid this issue? It seems the chart does only accept a small subset of the Chart.js configuration options. yAxes: \[{ t…

---

## [Inconsistant timezone in node-red](https://discourse.nodered.org/t/inconsistant-timezone-in-node-red/96386)

<div class="topic-metadata">

**Author:** [@bigbean17](https://discourse.nodered.org/u/bigbean17)\
**Replies:** 4\
**Last updated:** [3 April 2025 23:18 UTC](https://discourse.nodered.org/t/inconsistant-timezone-in-node-red/96386 "2025-04-03T23:18:40Z")

</div>

Hi, I'm trying to set the timezone in my node-red to Australia/Perth. The node-red is running on Ubuntu 22.04, the system timezone was set to Australia/Perth. This is the output of date command. However, in node-red…

---

## [Ui-chart is empty](https://discourse.nodered.org/t/ui-chart-is-empty/96055)

<div class="topic-metadata">

**Author:** [@GBROKO](https://discourse.nodered.org/u/GBROKO)\
**Replies:** 4\
**Last updated:** [17 March 2025 11:13 UTC](https://discourse.nodered.org/t/ui-chart-is-empty/96055 "2025-03-17T11:13:49Z")

</div>

My ui-chart stays empty. These are my Data: {"labels":\["2025-03-16T11:39:48.375Z","2025-03-16T12:39:48.395Z","2025-03-16T13:39:48.406Z","2025-03-16T14:39:48.417Z","2025-03-16T15:39:48.436Z","2025-03-16T16:39:48.451Z","2…

---

## [Live monitoring of energy usage](https://discourse.nodered.org/t/live-monitoring-of-energy-usage/96056)

<div class="topic-metadata">

**Author:** [@GBROKO](https://discourse.nodered.org/u/GBROKO)\
**Replies:** 0\
**Last updated:** [17 March 2025 09:05 UTC](https://discourse.nodered.org/t/live-monitoring-of-energy-usage/96056 "2025-03-17T09:05:41Z")

</div>

I wanna do a live monitoring of energy usage. my problem is that my chart is completely empty at the dashboard. Thats my code. \[ { "id": "36fa3994398c3c99", "type": "tab", "label": "Datenaufn…

---

## [Ui\_template and chart.js](https://discourse.nodered.org/t/ui-template-and-chart-js/94825)

<div class="topic-metadata">

**Author:** [@Captain\_Power](https://discourse.nodered.org/u/Captain_Power)\
**Replies:** 6\
**Last updated:** [24 January 2025 09:22 UTC](https://discourse.nodered.org/t/ui-template-and-chart-js/94825 "2025-01-24T09:22:16Z")

</div>

Hello everyone! I try use chart.js from https://www.chartjs.org/ to draw chart. I use simple test code: ▶ Code If i save this code in html file, and open in browser, chart look perfect! But when i try insert this c…

---

## [Looking for advice on how to store data and display a chart, as well as an image](https://discourse.nodered.org/t/looking-for-advice-on-how-to-store-data-and-display-a-chart-as-well-as-an-image/94610)

<div class="topic-metadata">

**Author:** [@gallionjason](https://discourse.nodered.org/u/gallionjason)\
**Replies:** 4\
**Last updated:** [15 January 2025 15:53 UTC](https://discourse.nodered.org/t/looking-for-advice-on-how-to-store-data-and-display-a-chart-as-well-as-an-image/94610 "2025-01-15T15:53:27Z")

</div>

Hello, I've been using Node-red for a awhile but would like some suggestions on storing data and displaying a time series chart. There is a sensor sending data 8 times a second, as well as a target setpoint, an average…

---

## [Dashboard v2 Chart node doesn't seem to handle larger data sets well](https://discourse.nodered.org/t/dashboard-v2-chart-node-doesnt-seem-to-handle-larger-data-sets-well/93833)

<div class="topic-metadata">

**Author:** [@dudleyjosh](https://discourse.nodered.org/u/dudleyjosh)\
**Replies:** 11\
**Last updated:** [27 December 2024 15:39 UTC](https://discourse.nodered.org/t/dashboard-v2-chart-node-doesnt-seem-to-handle-larger-data-sets-well/93833 "2024-12-27T15:39:33Z")

</div>

I rebuilt a dashboard I had running using the original node-red-dashboard v1. The dashboard retrieves data from CSV files and charts them as a timescale chart by data series. It has worked well with dashboard v1 but it i…

---

## [Ui-chart sorting by "group", disappears when data is replaced](https://discourse.nodered.org/t/ui-chart-sorting-by-group-disappears-when-data-is-replaced/93647)

<div class="topic-metadata">

**Author:** [@stgj](https://discourse.nodered.org/u/stgj)\
**Replies:** 4\
**Last updated:** [4 December 2024 18:48 UTC](https://discourse.nodered.org/t/ui-chart-sorting-by-group-disappears-when-data-is-replaced/93647 "2024-12-04T18:48:42Z")

</div>

This is not a bug, but I need help with something. I have a set of data in an influxdb. I feed the ui-chart with this data. The timeframe is chosen in the influx query. eg. \[ { "series": "Air", "time":…

---

## [I need help to create a chart automatically.](https://discourse.nodered.org/t/i-need-help-to-create-a-chart-automatically/93367)

<div class="topic-metadata">

**Author:** [@julio30](https://discourse.nodered.org/u/julio30)\
**Replies:** 5\
**Last updated:** [25 November 2024 16:20 UTC](https://discourse.nodered.org/t/i-need-help-to-create-a-chart-automatically/93367 "2024-11-25T16:20:25Z")

</div>

"I have a project where I need to create a chart automatically, but with different groups and labels. I don't want to configure the chart every time I create a new one, so I want it to generate the groups and labels auto…

---

## [How to get a payload value of a message with a specific topic to show in label of a chart node](https://discourse.nodered.org/t/how-to-get-a-payload-value-of-a-message-with-a-specific-topic-to-show-in-label-of-a-chart-node/93035)

<div class="topic-metadata">

**Author:** [@nosered1966](https://discourse.nodered.org/u/nosered1966)\
**Replies:** 4\
**Last updated:** [10 November 2024 18:48 UTC](https://discourse.nodered.org/t/how-to-get-a-payload-value-of-a-message-with-a-specific-topic-to-show-in-label-of-a-chart-node/93035 "2024-11-10T18:48:17Z")

</div>

Hi, I know that I can use \<font color=#1F51FF size="4"\>{{msg.payload}}\</font\> to display the value of "msg.payload" as text on the dashboard. But how can I extract the payload value from a specific message (having a …

---

## [Dashboard 2.0 to image (PDF)](https://discourse.nodered.org/t/dashboard-2-0-to-image-pdf/92555)

<div class="topic-metadata">

**Author:** [@ArneR](https://discourse.nodered.org/u/ArneR)\
**Replies:** 1\
**Last updated:** [23 October 2024 15:26 UTC](https://discourse.nodered.org/t/dashboard-2-0-to-image-pdf/92555 "2024-10-23T15:26:49Z")

</div>

Good afternoon, I have been looking for a way to convert a chart to an image so that I can upload it to my flow to generate a PDF. Creating a PDF works, but I can't find a way to link charts to my PDF. I have already tr…

---

## [Dashboard2 - ui-chart - Show only points not line between them](https://discourse.nodered.org/t/dashboard2-ui-chart-show-only-points-not-line-between-them/91077)

<div class="topic-metadata">

**Author:** [@Guillem](https://discourse.nodered.org/u/Guillem)\
**Replies:** 1\
**Last updated:** [18 September 2024 18:24 UTC](https://discourse.nodered.org/t/dashboard2-ui-chart-show-only-points-not-line-between-them/91077 "2024-09-18T18:24:30Z")

</div>

Hi everybody, I created an ui-chart with a node inject and a node random. I could "trend" the values on chart but how I could put the line between them?¿ I only have these options: Thanks in advance, Guillem

---

## [Visualizing numerical data on bar chart with x-axis type set as on timestamp](https://discourse.nodered.org/t/visualizing-numerical-data-on-bar-chart-with-x-axis-type-set-as-on-timestamp/90997)

<div class="topic-metadata">

**Author:** [@shubhamnodered](https://discourse.nodered.org/u/shubhamnodered)\
**Replies:** 2\
**Last updated:** [18 September 2024 08:52 UTC](https://discourse.nodered.org/t/visualizing-numerical-data-on-bar-chart-with-x-axis-type-set-as-on-timestamp/90997 "2024-09-18T08:52:46Z")

</div>

Hello Guys, Is there a way to visualize numerical data on bar chart with x-axis type set as on timestamp as shown in the image \[Image is copied from my grafana dashboard\]? By default, chart node 2.0 does offer to visul…

---

## [Chart 2.0 cannot be configured to display timestamp on x-axis at regular 1 second interval](https://discourse.nodered.org/t/chart-2-0-cannot-be-configured-to-display-timestamp-on-x-axis-at-regular-1-second-interval/90996)

<div class="topic-metadata">

**Author:** [@shubhamnodered](https://discourse.nodered.org/u/shubhamnodered)\
**Replies:** 0\
**Last updated:** [15 September 2024 11:17 UTC](https://discourse.nodered.org/t/chart-2-0-cannot-be-configured-to-display-timestamp-on-x-axis-at-regular-1-second-interval/90996 "2024-09-15T11:17:09Z")

</div>

Hi Guys and Hello Node read teams, I was playing around with Chart Node in Dashboard 2.0. Every second, I generate a random number and visualize it in the chart node. However, I'd like the x-axis to display time values …

---

## [Chart and Gauge from Dashboard 2.0](https://discourse.nodered.org/t/chart-and-gauge-from-dashboard-2-0/90374)

<div class="topic-metadata">

**Author:** [@Longhorn1988](https://discourse.nodered.org/u/Longhorn1988)\
**Replies:** 15\
**Last updated:** [23 August 2024 21:47 UTC](https://discourse.nodered.org/t/chart-and-gauge-from-dashboard-2-0/90374 "2024-08-23T21:47:33Z")

</div>

Hi everyone, I need some help. I want to use a chart / gauge for my input (MQTT), but it did not work when I linked it to the chart / gauge! Do I need something more? thanks for ur help :slight\_smile: Masih

---

## [How to use GitHub Co-pilot into Node-Red?](https://discourse.nodered.org/t/how-to-use-github-co-pilot-into-node-red/89755)

<div class="topic-metadata">

**Author:** [@ranjeetCode](https://discourse.nodered.org/u/ranjeetCode)\
**Replies:** 2\
**Last updated:** [29 July 2024 05:55 UTC](https://discourse.nodered.org/t/how-to-use-github-co-pilot-into-node-red/89755 "2024-07-29T05:55:23Z")

</div>

Hi, These days i am practicing Github Co-Pilot and i want to use this into Node-Red. If it is possible to use, please guide me. Thanks.

[Next page](https://discourse.nodered.org/tag/chart/17.md?match_all_tags=true&page=1&tags%5B%5D=chart)
