# Feature suggestion for diagrams: add the choice of maximum, average and minimum lines

**URL:** <https://community.netdata.cloud/t/feature-suggestion-for-diagrams-add-the-choice-of-maximum-average-and-minimum-lines/2940>\
**Category:** General\
**Created:** [June 1, 2022, 4:14pm UTC](https://community.netdata.cloud/t/feature-suggestion-for-diagrams-add-the-choice-of-maximum-average-and-minimum-lines/2940 "2022-06-01T16:14:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ToffiCap](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/tofficap/32/1866_2.png) [@ToffiCap](https://community.netdata.cloud/u/ToffiCap)\
**Post date:** [June 1, 2022, 4:14pm UTC](https://community.netdata.cloud/t/feature-suggestion-for-diagrams-add-the-choice-of-maximum-average-and-minimum-lines/2940/1 "2022-06-01T16:14:14Z")

</div>

Currently, the values of the data peaks get smaller and smaller the further you zoom out of a chart due to the summarized data points are computed as averages.  
Sometimes, however, it would be useful to display the maximum or minimum values of the summarized data points.  
For this you could insert a new icon in the header of the diagrams with the selections ‘maximum’, ‘average’ and ‘minimum’ like this:

![netdata_max_avg_min](https://canada1.discourse-cdn.com/flex029/uploads/netdata2/original/2X/1/14303472fff9924c8158c5d98ed08dbf8480209a.jpeg)

---

<div class="post-metadata">

**Author:** ![andrewm4894](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/andrewm4894/32/125_2.png) [@andrewm4894](https://community.netdata.cloud/u/andrewm4894)\
**Post date:** [June 1, 2022, 6:57pm UTC](https://community.netdata.cloud/t/feature-suggestion-for-diagrams-add-the-choice-of-maximum-average-and-minimum-lines/2940/2 "2022-06-01T18:57:45Z")

</div>

Thanks @ToffiCap we had been ideating on something very similar to this a little while ago. @hugo fyi, similar request to the summary stats stuff we were thinking about a while ago.

---

<div class="post-metadata">

**Author:** ![hugo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/hugo/32/3714_2.png) [@hugo](https://community.netdata.cloud/u/hugo)\
**Post date:** [June 2, 2022, 9:59am UTC](https://community.netdata.cloud/t/feature-suggestion-for-diagrams-add-the-choice-of-maximum-average-and-minimum-lines/2940/3 "2022-06-02T09:59:41Z")

</div>

Hi @ToffiCap ,

Thanks for the suggestion and for even going into `designer-mode` to provide a suggestion 🙂

You are right @andrewm4894, we have that summary stats to show these kind of statistics over dimensions and we also have this ticket [Feat]: Allow the definition of the aggregation function over time on composite charts bar [#433](https://github.com/netdata/netdata-cloud/issues/433) that is exactly what @ToffiCap is asking for.

This is currently on our backlog, but we hope to be able to pick this one up soon.

---

<div class="post-metadata">

**Author:** ![hugo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/hugo/32/3714_2.png) [@hugo](https://community.netdata.cloud/u/hugo)\
**Post date:** [June 16, 2022, 8:28pm UTC](https://community.netdata.cloud/t/feature-suggestion-for-diagrams-add-the-choice-of-maximum-average-and-minimum-lines/2940/4 "2022-06-16T20:28:46Z")

</div>

Hi @ToffiCap ,

Not sure you saw our latest enhancement to composite charts, but we now expose an option where you can control which function is applied when multiple datapoints are aggregated to one on a chart.

Here is a small sample:  
 ![chrome_ZY29OS5GG7](https://canada1.discourse-cdn.com/flex029/uploads/netdata2/original/2X/c/ce2f9ab6d3b19d944b3cfc27fca3d427e7a88d74.gif)

Please try it out and let us know what you think.

Regards,  
Hugo

---

<div class="post-metadata">

**Author:** ![ToffiCap](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/tofficap/32/1866_2.png) [@ToffiCap](https://community.netdata.cloud/u/ToffiCap)\
**Post date:** [July 16, 2022, 7:09am UTC](https://community.netdata.cloud/t/feature-suggestion-for-diagrams-add-the-choice-of-maximum-average-and-minimum-lines/2940/5 "2022-07-16T07:09:16Z")

</div>

Hi @hugo.valente ,  
this is pretty cool, thank you very much.  
But can you add this even to the node-specific dashboard?

Greets, ToffiCap

---

<div class="post-metadata">

**Author:** ![hugo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/hugo/32/3714_2.png) [@hugo](https://community.netdata.cloud/u/hugo)\
**Post date:** [July 18, 2022, 2:42pm UTC](https://community.netdata.cloud/t/feature-suggestion-for-diagrams-add-the-choice-of-maximum-average-and-minimum-lines/2940/6 "2022-07-18T14:42:48Z")

</div>

Hi @ToffiCap ,

We aren’t planning to add this to the node-specific/Single Node view tab directly since we are planning on tackling some tech debt work to unify the ways of working of Overview and Single Node view tab - in short once this work is completed it will be available there.

Cheers,  
Hugo
