28 Apr 2023 12:08 PM - last edited on 30 May 2023 07:26 AM by MaciejNeumann
There are things that can be done in Dashboards through the JSON definition, that cannot be done through the UI. For an ASCII art need, I needed that a vertical tile be as slim as possible. Through the UI, the minimal width of a tile is 4 units, and in JSON appeared as:
"bounds": {
"top": 722,
"left": 1216,
"width": 152,
"height": 152
},
Changing the JSON definition to the one below, yielded a tile half the width:
"bounds": {
"top": 722,
"left": 1216,
"width": 76,
"height": 152
},
If you know other Dashboard JSON tricks, post them below!
Solved! Go to Solution.
01 May 2023 11:32 AM - edited 01 May 2023 11:33 AM
I have done similar trick to allow Single Value tiles to become as tiny as possible. They can be shrinked into 38x38 which is 1x1 in the GUI. This enable you to make very simple and small traffic light indicators to anything that can be resolved in Single Value graphs.
Absolutely great if you need a lot of input covered in smaller areas!
14 Aug 2024 10:06 PM
Thanks alot! but when resize these tiles in JSON they become un draggable ? is there away to avoid that?
15 Aug 2024 07:58 AM
Since i made this, there's been implemented a few things that makes it harder to work with. Sadly I haven't found a way to move them after they've been shrinked - so you also have to plan for where they should be placed.
15 Aug 2024 01:55 PM
I appreciate your quick response! at least you found us solution.. I had tried finding JSON attribute/definition for TILES like "dragged=enable" but no LUCK 🙂
01 May 2023 12:43 PM - edited 01 May 2023 12:44 PM
This is a Pro Tip!!! I added Pro Tip to the subject for people to easily find it. Great job on this.
01 May 2023 02:41 PM
Thanks a lot,
Yes for some people, they are forgetting play with Json.