# Bar chart label group?

**URL:** <https://discourse.nodered.org/t/bar-chart-label-group/2040>\
**Category:** Dashboard\
**Created:** [4 August 2018 04:09 UTC](https://discourse.nodered.org/t/bar-chart-label-group/2040 "2018-08-04T04:09:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yingrui](https://avatars.discourse-cdn.com/v4/letter/y/a698b9/32.png) [@yingrui](https://discourse.nodered.org/u/yingrui)\
**Post date:** [4 August 2018 04:09 UTC](https://discourse.nodered.org/t/bar-chart-label-group/2040/1 "2018-08-04T04:09:12Z")

</div>

the bar chart help is  
Multiple series can be shown on the same chart by using a different `msg.topic` value on each input message. Multiple bars of the same series can be shown by using the `msg.label` property.

but I try  
function1:  
msg.topic="series A";  
msg.label="bar1";  
msg.payload=xxx;

function2:  
msg.topic="series A";  
msg.label="bar2";  
msg.payload=xxx;

function3:  
msg.topic="series A";  
msg.label="bar3";  
msg.payload=xxx;

the bar chart no working, it only dispplay only one bar! why?

---

<div class="post-metadata">

**Author:** ![davidcgu](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@davidcgu](https://discourse.nodered.org/u/davidcgu)\
**Post date:** [4 August 2018 07:21 UTC](https://discourse.nodered.org/t/bar-chart-label-group/2040/2 "2018-08-04T07:21:28Z")

</div>

because you usa the same msg.topic for the 3 values, try to use msg.topic="series A";msg.topic="series B";msg.topic="series C"; and will see....

You answered yourself on the first sentence of the post.

Regards
