mocdaniel / dashing-icinga2

Dashing dashboard for Icinga 2 using the REST API
MIT License
204 stars 47 forks source link

Question: Change data-sizey lower than 1? #116

Closed Marco-Total closed 3 years ago

Marco-Total commented 3 years ago

Hi,

is it possible to change the data-sizey to for example 0.5? My changes in the .erb file have no impact.

Thx, Rudi

mocdaniel commented 3 years ago

Hello Rudi,

this is not possible, the minimum for x and y values is 1, since they refer to the number of columns and rows, respectively, which the affected widgets will occupy in the dashboard.

Example:

data-sizex=1, data-sizey=1    # a 1x1 widget
data-sizex=2, data-sizey=1    # a 2x1 widget
data-sizex=1, data-sizey=3    # a 1x3 widget
Marco-Total commented 3 years ago

Ok, good to know, thank your for your answer!