arcadeanalytics
arcadeanalytics copied to clipboard
Opening a graph widget results in restricted height
I am able to resize a graph widget, but once I open it, the resulting graph window cannot be resized.
To reproduce: on a graph widget, click the "cross" to open it.
The graph is now displayed in a window with a severely restricted height: that of the left sub-menu.
It would be great to be able to have the graph displayed in a larger window, e.g. by providing an option to resize.
Testing on Ubuntu, using ./gradlew and yarn start
Note that this is quite a severe issue as it can render half the screen useless with just whitespace.
It seems the height of the widgets is hard coded to 570px in src/main/webapp/app/entities/widget/widget-detail.component.html :
<graph-widget *ngIf="widget.type == 'graph'" #widgetImplementation [widget]="widget" widgetHeight="570px" [minimizedView]="false" [oldSnapshotToLoad]="widget.hasSnapshot"> </graph-widget>
However, just changing this 570 to some larger value confuses the "zoom out to entire system" functionality a bit.