# Issue bar-chart-data Bluemix Timezones

**URL:** https://discourse.nodered.org/t/issue-bar-chart-data-bluemix-timezones/17290
**Category:** Dashboard
**Created:** [29 October 2019 18:45 UTC](https://discourse.nodered.org/t/issue-bar-chart-data-bluemix-timezones/17290 "2019-10-29T18:45:54Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mcponta](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mcponta/32/13762_2.png) [@mcponta](https://discourse.nodered.org/u/mcponta)
#### Post date: [29 October 2019 18:45 UTC](https://discourse.nodered.org/t/issue-bar-chart-data-bluemix-timezones/17290/1 "2019-10-29T18:45:54Z")

</div>

Hello folks.  
I am Marcelo from Brazil and new user on node red.  
Recently, in my project I am using a bar-chart-data to save datas of my energy consumption, but a have little problem with this node "bar-chart-data".  
In the true, my problem is about the time line x axis, I live in Brazil and the time zone here is -3 and in my node show me UTC time zone.  
I tried used the node "moment" but still problem persist.  
Could someone help my.  
Sorry with my english mistakes

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [29 October 2019 19:10 UTC](https://discourse.nodered.org/t/issue-bar-chart-data-bluemix-timezones/17290/2 "2019-10-29T19:10:21Z")

</div>

Moved to #dashboard as it is about node-red-dashboard

What computer are you running the Node-RED server on?  
Have you checked the timezone set on that computer?

Can you add a debug node and show us a message you are sending to the bar-chart-node?

(PS your English is a lot better than my Brazilian Portuguese!)

---

<div class="post-metadata">

### Author: ![mcponta](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mcponta/32/13762_2.png) [@mcponta](https://discourse.nodered.org/u/mcponta)
#### Post date: [29 October 2019 19:30 UTC](https://discourse.nodered.org/t/issue-bar-chart-data-bluemix-timezones/17290/3 "2019-10-29T19:30:21Z")

</div>

Hello friend, thanks for your replay.  
My nod red is running on bluemix form IBM cloud.  
A have not checked the TZ, but all nodes a need to use a moment.

Attached a pic to debug ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/1/1b4272e28e47aff5d08a298d8964fb6b92a820b1.png)

---

<div class="post-metadata">

### Author: ![mcponta](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mcponta/32/13762_2.png) [@mcponta](https://discourse.nodered.org/u/mcponta)
#### Post date: [6 November 2019 20:19 UTC](https://discourse.nodered.org/t/issue-bar-chart-data-bluemix-timezones/17290/4 "2019-11-06T20:19:29Z")

</div>

Hello everybody!!  
I am still student a form to resolve my problem using bar-chart-data. I desisted to change the timezone on node red and now I have a little code that a need change to adapt to my project, what I want is only subtract -3 in labels, fixing my x-axis on the chart.  
below has my code

var labels = msg.payload[0].labels;  
var series = msg.payload[0].series;  
var data = msg.payload[0].data;  
msg.payload = [{  
"labels": labels ,  
"series": series ,  
"data": data ,  
}];

return msg;

---

<div class="post-metadata">

### Author: ![mcponta](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mcponta/32/13762_2.png) [@mcponta](https://discourse.nodered.org/u/mcponta)
#### Post date: [6 November 2019 20:27 UTC](https://discourse.nodered.org/t/issue-bar-chart-data-bluemix-timezones/17290/5 "2019-11-06T20:27:52Z")

</div>

I forgot to attach my flow.  
the function receive from bar-chart-data and replicate.

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