# Need help optimising flow and Chart output

**URL:** <https://discourse.nodered.org/t/need-help-optimising-flow-and-chart-output/9075>\
**Category:** General\
**Created:** [17 March 2019 08:37 UTC](https://discourse.nodered.org/t/need-help-optimising-flow-and-chart-output/9075 "2019-03-17T08:37:21Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Stefanie](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stefanie/32/6589_2.png) [@Stefanie](https://discourse.nodered.org/u/Stefanie)\
**Post date:** [17 March 2019 11:46 UTC](https://discourse.nodered.org/t/need-help-optimising-flow-and-chart-output/9075/6 "2019-03-17T11:46:01Z")

</div>

> [@Steve-Mcl](#):
>
> Hi, your post was very clear, included correct formatting, examples, and indicated you tried stuff before asking so i felt inclined to to try and help you.
> 
> NOTE: there are many ways to skin a cat & others will have other ideas. This is just one.

Hi Steve,  
and thank you so much. That is a lot more than expected!

Now I need to work my way through your nodes and see how you had things done. That will be the fun part 🙂

Just deployed and noticed that you split into A/B in the chart. That is not necessary as I want the total amount of messages (A+B). In real life there are these two channels just for the purpose of providing more bandwidth. Imagine a main port like Hongkong or wherever with hundreds if not thousands of ships. Each one sending an AIS message every 3 to 30 seconds. For the receiver it doesn't matter whether it was from channel A or B.

Another thing I discovered is that both LEDs (red and green) stays lit with your flow. Not sure what's going on, but will look into it. edit: my fault. For debug purposes I disconnected the off function nodes...display works fine.

---

_[View the full topic](https://discourse.nodered.org/t/need-help-optimising-flow-and-chart-output/9075)._
