Closed bwhaley closed 11 years ago
Woops, did not mean to close it.
Works for me +1
actually... @bwhaley how do you define the image sizes now? The height/width settings in gdash.yaml or dash.yaml have no effect anymore because bootstraps span4 size is fixed. Or am I missing something?
Adjusting graph_width and graph_height in gdash.yaml is working for me in all views.
800x500
500x250
Hmm but I see your point, the image is the right size but pixel # is constrained by the span. I will poke at this later.
Very interested in knowing how to have different sizes for different views. Detailed and thumbnail grid. If anyone could explain or show me documentation of how to do it it would be great
@lindqt01 You can specify ?width=X&height=Y in your URL to change the size of the graph. Does that help?
@bwhaley After clicking on one of the graphs you get a detailed view with default time intervals. I would like to have those graphs bigger and maybe less amount of columns. Is this possible to achieve with templates or do i need to go into the code for that?
@falkenbt I fixed this in bwhaley/gdash@4f4bfb705153aaea8a6fccfaec958f515dcc07c6 by reverting to a table format and using container-fluid in the layout. This branch also fixes an issue in graph.erb where query parameters were not passed on to the detailed dashboard.
@lindqt01 The graphs can be bigger by appending width=N&height=M in the query parameters (after this fix is merged, that is). There is currently no way to dynamically adjust the number of columns.
This PR fixes issue #85. It also switches from using Bootstrap rows to strictly thumbnails, which I think it more appropriate for an image grid. Anyone care to review this?