Grafana Panel Error about height and width - grafana

I am working on build grafana dashboards for my project.
I have facing the issue that some of my panels keep shows "Invalid dimensions for plot, width = 415, height = 0"
I am not sure how to fix it. I tried to increase the size of the graph, however the table always there.
I really appreciate your help.
The screenshot is below
enter image description here
enter image description here

Just increase height of your graph panels in the UI - make them higher (or disable legend, so there will be space for graph). See example of the same panels with different heights:
Click on the mark in the right bottom corner and change height of the panel.

Related

NSTableView: second Column appears when it shouldn't

I have an NSTableView with only one column. When I change the Windows size, the TableView sticks to the Windows borders, as it should:
ScreenShot Small
However, when I expand the windows frame to much (for example, when using full screen) suddenly a second column appears:
ScreenShot FullScreen
I have no idea, why this is happening. I can't expand the first cell manually using this little resize indicator, it seems like the cell inside the tableview just wouldn't be able to grow more...
Here is a picture of the TableViews Attributes Inspector:
ScreenShot AttributeInspector
I didn't find any constraints or width settings that would explain this.
I would be really greatful for any kind of help.
Try changing the column sizing of tableView to Uniform in attributes inspector.
Also in your size inspector, check and adjust maximum width for the column depending on your window max allowable width.

Graphview legend position

I can place the legend top, middle, bottom, but its always on the right side of the graphview. How can I place it left side?
The most important problem that "too long" texts doesn't fit in the box, so the end of the text is outside the box / screen. I know I can change the text size, but I don't want to solve the problem in this way.
This solved my problem:
graph.getLegendRenderer().resetStyles();
Just called if I need to resize the legend box.
in the current version it's also possible to freely set the position of legend and also the width

Fix height to smallest possible GTK

I have placed buttons inside a horizontal box inside a window. Now I want this box to be on the top of the window with the smallest possible height. The rest of the window is drawing area for an image display that changes height with the window. How?
I solved it using a table with the following for the first and second row
gtk_table_attach(GTK_TABLE(table),toolbar,0,1,0,1
,GtkAttachOptions((guint)GTK_FILL|(guint)GTK_EXPAND)
,GTK_SHRINK,0,0);
gtk_table_attach(GTK_TABLE(table),test,0,1,1,2
,GtkAttachOptions((guint)GTK_FILL|(guint)GTK_EXPAND)
,GtkAttachOptions((guint)GTK_FILL|(guint)GTK_EXPAND),0,0);

Issue with Margin in iReport

I have created PDF report using iReport. PDF output is looking fine, but when I click on print, In Hardcopy (paper) too much empty space at left, right and bottom places. The font size automatically decreased because of this.
How can I fix this issue?
Your page width is set to 800, but your column width is 535. If you only have one column, increase the column width to 760 (800 - 20 right margin - 20 left margin).
Your page height is set to 2,000 and is probably responsible for the extra space at the bottom. Decrease that as desired.
If you are using Jasper Report plugins in Eclipse IDE then
Just right click on the (Design) page of Jasper Report and select 'Page
Format' option.
You will see 'Page Format' window.
Now make changes as you want.

Hidden element causing scrollbar to appear when window goes below a certain width

I am having the weirdest problem. I'm trying to make a page that fits a resolution of:
width: 640;
height: 960;
for the iphone. But there is a hidden element that I can't access with the Developer toolbar or Firebug that is adding an extra 100pixels to the right of my page.
I've set the correct height and width for the html, body, and main containers but I'm still having the same issue.
You can replicate the problem by going to the following page and resizing your screen just below 740px wide. When you do this you see the horizontal scrollbar popup around 740 pixels. Here's an example page with the issue.
The scrollbar shouldnt popup until the window is resized down to a 640 pixel width because thats what I have all the elements assigned to.
The main overall issue is that when viewed on the iphone4 there is a 100 pixel gap on the right side of the screen that no matter what i do I cant get rid of because some element is making the page 740px width instead of 640.
My boss and I have been working on this for hours and still cant figure out what is causing that extra 100 pixels on the right.
Any suggestions would be greatly appreciated.
Place overflow: hidden on your HTML CSS attributes. Not sure where that element is coming from, but that will prevent anything from making scroll bars appear.