# Changing the line width in a multi line chart

**URL:** https://discourse.nodered.org/t/changing-the-line-width-in-a-multi-line-chart/88728
**Category:** Dashboard
**Tags:** node-red-dashboard
**Created:** [16 June 2024 08:57 UTC](https://discourse.nodered.org/t/changing-the-line-width-in-a-multi-line-chart/88728 "2024-06-16T08:57:22Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [25 June 2024 12:25 UTC](https://discourse.nodered.org/t/changing-the-line-width-in-a-multi-line-chart/88728/3 "2024-06-25T12:25:49Z")

</div>

Maybe this thread can help you out

> [@Changing line thickness in ui\_chart](https://discourse.nodered.org/t/changing-line-thickness-in-ui-chart/42626):
>
> What is the correct way to use msg.ui\_control to change the line thickness in a ui\_chart? I've seen this post, and example by @hotNipi - and I'm adding msg.ui\_control in the function which formats the chart data, a simplified extract would be; msg.payload = chartdata; msg.topic = 'status'; msg.ui\_control = { "options": { "elements": { "line": { "borderWidth": 1 } } } } ...which changes the chart unexpectedly! [chart]

---

_[View the full topic](https://discourse.nodered.org/t/changing-the-line-width-in-a-multi-line-chart/88728)._
