graph related problems (ZBX-1079)

[ZBX-1121] graph layout issues Created: 2009 Oct 20  Updated: 2016 Jan 21  Resolved: 2016 Jan 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.9.0 (alpha)
Fix Version/s: None

Type: Sub-task Priority: Blocker
Reporter: richlv Assignee: Unassigned
Resolution: Duplicate Votes: 5
Labels: graphs, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: JPEG File Moke up of recommended changes.jpg     PNG File graphs-1.6.png     PNG File graphs-trunk.png     PNG File y_axis_label_space.png    
Issue Links:
Duplicate
duplicates ZBXNEXT-1762 show year on x axis labels Closed
duplicates ZBX-6181 Possible wasted space in graphs Open
duplicates ZBX-6632 graph size does not determine final i... Open
duplicates ZBX-3400 different font sizes for graph header... Closed

 Description   

trunk graphs are very nice, but there are some layout and formatting issues. lumped in single report for now.

1. in the graphs-trunk, notice how graph title fontsize differs for these two graphs from the same screen (ZBX-3400 seems to be about the same issue)

<richlv> this seems to be fixed in ZBX-3400, CLOSED

2. in the graphs-trunk, notice how the two graphs are not the same height. actually, they are configured to have identical height. apparently, height is used for graph data plotting area, not whole area. it makes neatly laid out screen configuration very hard - and even completely impossible as trigger can be visible on the graph and it can be missing. instead, graph size should specify outer border and graph plot area should be scaled to that.

<richlv> split out as ZBX-6632, CLOSED

3. graphs-trunk. in the second graph notice how "Last" and "Min" legend text has larger font than legend text itself. fontsize of these elements should be identical

<richlv> seems to be fixed in trunk r35919, CLOSED

4. graphs-trunk. in the first graph, notice how graph title is not aligned in the middle of the graph area.

<richlv> couldn't reproduce in trunk r35919 anymore, CLOSED

5. graphs-trunk. in both graphs, notice how there's much room on the left and to the right that is wasted. instead graph should flow from one side to another as tightly as possible, taking into account y axis legend on both sides. compare this to graphs-1.6 (although there graphs also could expand more to the right).

still there in trunk r36016.
see https://support.zabbix.com/secure/attachment/22718/y_axis_label_space.png for an example of the current situation

asaveljevs It seems we can consider this as a duplicate of ZBX-6181. CLOSED.

6. graphs-trunk. in the first graph, notice how legend covers "Data from trends. generated in n sec"

<richlv> this seems to be fixed in trunk r35919, CLOSED

7. graphs-trunk. on both graphs, notice the uselessness of x axis labels. these graphs have yearly scale. as such, legend should include year, but on the other hand, it should also take up less space. maybe do not print time, but add year instead ? labels would still take too much space vertically, so for that some better solution might be needed

<richlv> split out as ZBXNEXT-1762 , CLOSED

8. graphs-trunk. on both graphs, notice how there are no x axis legends inbetween start and end points. in this scale/size a couple more legend entries would be useful (compare to graphs-1.6, although there useless time labels are printed)

<richlv> seems to be fixed in trunk r36016, CLOSED

if needed, these could be split out in separate issues. also, most can wait for 1.8.1 or so...



 Comments   
Comment by Pascal Tempier [ 2009 Dec 28 ]

recommended changes:
Full start date and end date moved to the title to not lose the info:
Start date and end date in the graph are shortened to reclaim vertical space
Left and right margins are deleted
Right and left scales are colored in function of the graph color

Comment by Simon Kerckhof [ 2011 Aug 03 ]

I would love to see this implemented as well:

Also see: ZBX-4014

Comment by Aleksandrs Saveljevs [ 2011 Aug 10 ]

Another issue observed yesterday: if I wish to make a regular graph and a pie graph the same width in a screen, then I have to set the regular graph's width to 500 pixels, but the pie graph's width to 616 pixels. This is because a regular graph's width specifies the width of the "netted" area where the values are plotted (i.e., without axis labels). For a pie graph, the width specifies the total width.

Generated at Fri Apr 26 18:16:32 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.