cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Pro Tip - Dashboard JSON tricks

AntonioSousa
DynaMight Guru
DynaMight Guru

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!

Antonio Sousa
6 REPLIES 6

tobiasmarkvart
Participant

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!

 

ececffa9-33d2-479e-8961-054c5f6d8aab.jpg

 

Thanks alot! but when resize these tiles in JSON they become un draggable ? is there away to avoid that?

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.

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 🙂

 

Kenny_Gillette
DynaMight Leader
DynaMight Leader

This is a Pro Tip!!!  I added Pro Tip to the subject for people to easily find it.  Great job on this.

Dynatrace Certified Professional

Malaik
Leader

Thanks a lot,

Yes for some people, they are forgetting play with Json.

 

Sharing Knowledge

Featured Posts