Ui_chart how do i start the chart at a specific time (Start midnight every day)

Hi there,
I'm using the ui chart from node-red-dashboard version 3.2.3
I get power readings from my power meter.
In the chart i chose Data for one day to see the power over a hole day.
How can I make the chart always start at 00:00 hours?

Thanks for your help!!
jo

Use an inject node to send an empty array to the chart at midnight.

Oddly, to inject an array you use JSON input type - like this
Untitled 1

2 Likes

Thank you so much. It clears the chart. Is it possible to initialize the x-axis directly with an 24h axis so the chart does not get build up as data come in, but the axis is already set?
Thank you!