# Smooth graph in chart

**URL:** <https://discourse.nodered.org/t/smooth-graph-in-chart/3335>\
**Category:** Dashboard\
**Created:** [21 September 2018 13:40 UTC](https://discourse.nodered.org/t/smooth-graph-in-chart/3335 "2018-09-21T13:40:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![neophilipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/neophilipp/32/2752_2.png) [@neophilipp](https://discourse.nodered.org/u/neophilipp)\
**Post date:** [21 September 2018 13:40 UTC](https://discourse.nodered.org/t/smooth-graph-in-chart/3335/1 "2018-09-21T13:40:48Z")

</div>

Hello,

i look for a way to "smooth" the graph. I dont like the small corners in it.  
The data came from a array from a mysql database. Hope you know what i mean?!

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/7/7d8f26db986716ce0ea60cfb7f7de3085bb1e3ac.png)

Thanks for help-

---

<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:** [21 September 2018 13:46 UTC](https://discourse.nodered.org/t/smooth-graph-in-chart/3335/2 "2018-09-21T13:46:15Z")

</div>

You can use bezier option from edit chart dialog

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/2/29415f201ffbe92e5c57977c8865153d4fea2c99.png)

---

<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:** [22 September 2018 08:42 UTC](https://discourse.nodered.org/t/smooth-graph-in-chart/3335/3 "2018-09-22T08:42:14Z")

</div>

Though of course as soon as you smooth the data the chart is no longer showing what actually happened.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [22 September 2018 09:16 UTC](https://discourse.nodered.org/t/smooth-graph-in-chart/3335/4 "2018-09-22T09:16:54Z")

</div>

well I don't think the temperature jumped from 25.0 to 25.1, etc in real life either did it ?

---

<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:** [22 September 2018 14:19 UTC](https://discourse.nodered.org/t/smooth-graph-in-chart/3335/5 "2018-09-22T14:19:19Z")

</div>

> [@dceejay](#):
>
> well I don't think the temperature jumped from 25.0 to 25.1, etc in real life either did it

True, but the sensor reading did. It all depends what you want the graph to show.
