Dashboard 2.0 Chart not showing timestamped data from mysql

ccman
Thu, 16 Oct 2025 06:04:30 +0000
Dashboard

I have temperature data with timestamps output as an array from Mysql, sent to the chart widget on node red Dashboard 2.0, with the settings to be line chart, x-axis timescale, and x and y to use relevant keys. No matter how many changes I make, the chart shows nothing, it only shows the data if I change x-axis to linear, but that doesn't show time or any y axis data.

The timestamps are in milliseconds (confirmed since I can click on them in debug to show the actual time).

I've tried changing both x and y to strings, tried changing from timestamps to dateLocale, and changing keys, and deleting chart data. Normal real time (current timestamp) charts work fine, but I need a way to display history from any day.

Theoretically this should be the way to do it, I guess I'm missing something very obvious. Dashboard 2.0 charts supposedly do not need much formatting of database data (hence no function/change node to post), so I'm wondering why this doesn't work.

It worked in the original dashboard, with data modified through a function node.

This is with node red 3.1.3, node.js 18 and the latest Dashboard 2.0. I've been told this is a very old node-red version, but I just went through the hell of updating my nodes and install to 3.1.3 a scant year and a half ago, and I'd rather not repeat that every couple years.

31 posts - 5 participants