# Dashboard 2.0 chart title dynamically

**URL:** <https://discourse.nodered.org/t/dashboard-2-0-chart-title-dynamically/100017>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [24 December 2025 08:50 UTC](https://discourse.nodered.org/t/dashboard-2-0-chart-title-dynamically/100017 "2025-12-24T08:50:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris378](https://avatars.discourse-cdn.com/v4/letter/c/e99b99/32.png) [@Chris378](https://discourse.nodered.org/u/Chris378)\
**Post date:** [24 December 2025 08:50 UTC](https://discourse.nodered.org/t/dashboard-2-0-chart-title-dynamically/100017/1 "2025-12-24T08:50:18Z")

</div>

Dear All

Acc. to the documenatation on the Dashboard 2.0 website it should be possible to change all properties of the chart with msg.ui\_update. So, ithought it should also be possible to change the chart title dynamically, but it doesn`t work. I have tried a lot of things, no positive result. ChatGPT said, that this is not possible though it`s written on the website. Does anybody know whether this is possible or not, and if Yes, what`s the code, please.

Thank you.  
Greeting  
Chris

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [24 December 2025 09:14 UTC](https://discourse.nodered.org/t/dashboard-2-0-chart-title-dynamically/100017/2 "2025-12-24T09:14:09Z")

</div>

Can you post a simple example showing your attempt to do this please. Just a chart and an inject node (or inject + change or function node, whatever you prefer). Then I can see whether this is a bug or not.

[Edit] Looking at the [echarts docs](https://echarts.apache.org/en/option.html#title) you should have in msg.ui\_update

```auto
{
  chartOptions: {
    title: {
            text: "the title"
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![Chris378](https://avatars.discourse-cdn.com/v4/letter/c/e99b99/32.png) [@Chris378](https://discourse.nodered.org/u/Chris378)\
**Post date:** [25 December 2025 08:20 UTC](https://discourse.nodered.org/t/dashboard-2-0-chart-title-dynamically/100017/3 "2025-12-25T08:20:32Z")

</div>

Hello

Here a simple example. These nodes are part of much more larger project.

[Example.json](https://discourse.nodered.org/uploads/short-url/eCdDcIRI37mFureGGJYipoziGpl.json) (7.4 KB)

Regards  
Chris

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [25 December 2025 10:52 UTC](https://discourse.nodered.org/t/dashboard-2-0-chart-title-dynamically/100017/4 "2025-12-25T10:52:18Z")

</div>

That works for me

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

What do you see?  
Which version of the dashboard are you using (check in Manage Palette)?

[Edit] In future please, when posting a flow, see this post for how to post it - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

<div class="post-metadata">

**Author:** ![Chris378](https://avatars.discourse-cdn.com/v4/letter/c/e99b99/32.png) [@Chris378](https://discourse.nodered.org/u/Chris378)\
**Post date:** [10 January 2026 06:37 UTC](https://discourse.nodered.org/t/dashboard-2-0-chart-title-dynamically/100017/5 "2026-01-10T06:37:59Z")

</div>

Hi Colin

Sorry for the late respond, but in the past weeks I was not working on my project. I updated dashboard 2.0 and you`re right, now it works.

Thanks a lot.

---

<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:** [24 January 2026 06:38 UTC](https://discourse.nodered.org/t/dashboard-2-0-chart-title-dynamically/100017/6 "2026-01-24T06:38:19Z")

</div>

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