# Chart update not working

**URL:** <https://discourse.nodered.org/t/chart-update-not-working/100360>\
**Category:** Dashboard\
**Tags:** dashboard-1\
**Created:** [11 February 2026 12:20 UTC](https://discourse.nodered.org/t/chart-update-not-working/100360 "2026-02-11T12:20:51Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sekuti](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sekuti/32/107159_2.png) [@Sekuti](https://discourse.nodered.org/u/Sekuti)\
**Post date:** [11 February 2026 12:20 UTC](https://discourse.nodered.org/t/chart-update-not-working/100360/1 "2026-02-11T12:20:51Z")

</div>

Hello I have trouble with showing values on chart. Chart is empty. I run out of ideas.

Point is one of 3000. y value goes to 10 and x value is time from 0:0:0 to 23:59:59

{"x":"14:46:48","y":0}

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/d/3d6934f147e4682ae0ed51700dc51757c4cac932.png)

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [11 February 2026 13:25 UTC](https://discourse.nodered.org/t/chart-update-not-working/100360/2 "2026-02-11T13:25:21Z")

</div>

Please indicate via the thread's tags whether this is for Dashboard 1 or 2. Thanks.

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [11 February 2026 14:20 UTC](https://discourse.nodered.org/t/chart-update-not-working/100360/3 "2026-02-11T14:20:57Z")

</div>

@Sekuti's screen capture shows Class and Name at the bottom of the popup, thus it's the original, node-red-dashboard.

The original dashboard is picky about it's input data structure.  
Can you capture the entire message payload (using a Write file node?), edit it, deleting about 2995 of the 3000 data points before sharing it here?

---

<div class="post-metadata">

**Author:** ![Sekuti](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sekuti/32/107159_2.png) [@Sekuti](https://discourse.nodered.org/u/Sekuti)\
**Post date:** [19 February 2026 12:28 UTC](https://discourse.nodered.org/t/chart-update-not-working/100360/4 "2026-02-19T12:28:22Z")

</div>

[{"labels":["01"],  
"series":["2-Izmena"],  
"data":[[{"x":"13:18:11","y":11.1},{"x":"13:18:18","y":11.38},{"x":"13:18:28","y":10.75},{"x":"13:18:38","y":10.74},{"x":"13:18:48","y":10.68},{"x":"13:18:58","y":10.87},{"x":"13:19:8","y":10.41},{"x":"13:19:18","y":10.68}]]}]

---

<div class="post-metadata">

**Author:** ![Sekuti](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sekuti/32/107159_2.png) [@Sekuti](https://discourse.nodered.org/u/Sekuti)\
**Post date:** [19 February 2026 12:38 UTC](https://discourse.nodered.org/t/chart-update-not-working/100360/5 "2026-02-19T12:38:47Z")

</div>

Problem now is that x scale always starts with current hour and offcourse chart is empty

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [19 February 2026 12:44 UTC](https://discourse.nodered.org/t/chart-update-not-working/100360/6 "2026-02-19T12:44:50Z")

</div>

I suspect the chart node cannot understand your x value strings "hh:mm:ss".

Specify your x values as either a javascript timestamp or Date object rather than a string.

---

<div class="post-metadata">

**Author:** ![Sekuti](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sekuti/32/107159_2.png) [@Sekuti](https://discourse.nodered.org/u/Sekuti)\
**Post date:** [19 February 2026 12:46 UTC](https://discourse.nodered.org/t/chart-update-not-working/100360/7 "2026-02-19T12:46:17Z")

</div>

[{"labels":["01"],"series":["2-Izmena"],"data":[[{"x":"2026-2-16","y":44.45},{"x":"2026-2-17","y":93.49},{"x":"2026-2-18","y":79.38}]]}]  
[{"labels":["01"],"series":["2-Izmena"],"data":[[{"x":"13:18:11","y":11.1},{"x":"13:18:18","y":11.38},{"x":"13:18:28","y":10.75}]]}]

---

<div class="post-metadata">

**Author:** ![Sekuti](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sekuti/32/107159_2.png) [@Sekuti](https://discourse.nodered.org/u/Sekuti)\
**Post date:** [19 February 2026 12:47 UTC](https://discourse.nodered.org/t/chart-update-not-working/100360/8 "2026-02-19T12:47:59Z")

</div>

upper post represents two data. One is working and other not. The only diferent is that for one I use year-Month-Date and on the other HH:mm:ss

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [19 February 2026 13:04 UTC](https://discourse.nodered.org/t/chart-update-not-working/100360/9 "2026-02-19T13:04:26Z")

</div>

This data works for me, after sending an empty array to clear the chart.

```auto
[
    {
        "labels": [
            "01"
        ],
        "series": [
            "2-Izmena"
        ],
        "data": [
            [
                {
                    "x": "2026-02-18T13:18:11",
                    "y": 11.1
                },
                {
                    "x": "2026-02-18T13:18:18",
                    "y": 11.38
                },
                {
                    "x": "2026-02-18T13:18:28",
                    "y": 10.75
                },
                {
                    "x": "2026-02-18T13:18:38",
                    "y": 10.74
                },
                {
                    "x": "2026-02-18T13:18:48",
                    "y": 10.68
                },
                {
                    "x": "2026-02-18T13:18:58",
                    "y": 10.87
                },
                {
                    "x": "2026-02-18T13:19:08",
                    "y": 10.41
                },
                {
                    "x": "2026-02-18T13:19:18",
                    "y": 10.68
                }
            ]
        ]
    }
]

```

I (arbitrarily) made each of your hh:mm:ss values into a datetime for yesterday.  
I also tweeked the "13:19:8" value to "13:19:08"

The chart can understand your data eg "2026-2-15" (as midnight on the given date).

I believe that a javascript timestamp is a better option than a date time string.

---

<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:** [21 March 2026 13:04 UTC](https://discourse.nodered.org/t/chart-update-not-working/100360/10 "2026-03-21T13:04:48Z")

</div>

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