I'm using the Chart node to plot data retrieved from a database over a 10 minute, 1 hour, 1 day or 30 day period depending a corresponding button press.
The X-axis label field in the node editor gives several options of time/date format including custom and automatic. The automatic option changes the format depending on the time span of the data being displayed. This is what I want but I'd like to change the given formats. e.g. I don't want seconds displayed and I want 24 hour time instead of am/pm.
Is there a way to configure the automatic formatting of the x-axis on the chart node?
You should be able to use msg.ui_control to send xformat property to the chart.
Thanks for that @E1cid.
I'll need to play around with that but it looks like it will do what I need.
I've just added the code to use the ui_control properties. It's exactly what I need.
Thanks for the tip.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.