Chart Y axis strange characters

59 views
Skip to first unread message

Phil Grant

unread,
Nov 27, 2017, 3:34:24 PM11/27/17
to Node-RED UI
Hi,
Anyone know why I'm getting these strange characters in my Y axis?


Cheers
chart yaxis.jpg

steve rickus

unread,
Nov 27, 2017, 4:51:40 PM11/27/17
to Node-RED UI
Looks like it's trying to interpret your x-values as dates, and either parsing them incorrectly, or your date format string is messed up.

Can you show me an example of your input msg.payload data?
Also, on your ui_chart node, what is the x-axis format string you are using, if any?
--
Steve

Phil Grant

unread,
Nov 28, 2017, 1:29:42 AM11/28/17
to Node-RED UI
Hi,
Thanks for the reply Steve, I tried changing the X-axis labels to something else and it fixed itself, not sure what was wrong?

Phil

steve rickus

unread,
Nov 28, 2017, 8:47:30 AM11/28/17
to Node-RED UI
So the labels appear messed up whenever you leave the format property blank? That sounds like a old bug that was fixed a while back... what version of the dashboard do you have installed?

The nice feature of leaving the label format blank is that the chart will try to show the most compact format for the time range shown -- minutes/days/week/months. So if that does not work for you, I would make sure you update to the latest version first. Then if it still does not work, open an issue so Dave can fix it.
--
Steve

Phil Grant

unread,
Nov 28, 2017, 1:31:52 PM11/28/17
to Node-RED UI
I can't seem to get the strange characters again, my version is 2.6.2, it may be because I had an existing chart pre my update to the latest version?


On Monday, 27 November 2017 20:34:24 UTC, Phil Grant wrote:
Reply all
Reply to author
Forward
0 new messages