Can I define the position of widgets on the dashboard by altering javascript?

I have two gauges and two charts, however 'layout' does not work properly. v3.0.2 I have tried using both RasPi & Windows platforms. I want to reposition widgets, layout is acting very strangely. Should I resort to using node.js explicitly ?

Hi Dave, you need to be a bit more descriptive than "does not work properly" and "layout is acting very strangely", if you want support with your issue :wink:

I have two MQTT messages, each of which has two widgets, a gauge & chart, see screen capture

The gauges are 4x4 - Screenshot by Lightshot
and charts are 20x10 - Screenshot by Lightshot
I want to position the gauges to the left, one above the other, and the charts alongside to the right
Layout editor shows - Screenshot by Lightshot
and this is the actual Dashboard - Screenshot by Lightshot

The layout editor does seem to fall down when the dashboard is wider than a certain size. (not sure how big)
Your layout screen capture seems to be 40 units wide. That's a) probably wide enough to upset the layout editor and b) not wide enough to place a 4 unit widget and two 20 unit widgets side by side.

You could try creating a new group 4 units wide for the gauges.

The layout editor is OK @ 30 units wide, but is 'messed up' @ 32 units wide

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.