[ZBXNEXT-1509] Ability to disable graph legend on screen Created: 2012 Nov 11  Updated: 2017 Nov 07

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: None
Affects Version/s: 2.0.3
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: ojab Assignee: Unassigned
Resolution: Unresolved Votes: 4
Labels: graphlegend, patch, screens
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File ZBXNEXT-1509.2.patch     Text File ZBXNEXT-1509.3.patch     File patch.p    

 Description   

I have many graphs with 16+ items each (up to 96) and want to have legend on them.
Right now there is no way to create [rather] compact Screen with them, because graphs are rather tall ('height': '100' & 96 items is actually 1000px tall graph).

The only way to have compact screen is to make the same graph set, but with legend disabled, which is inconvenient, to say the least.

Possible solutions can be:
1. Ability to disable graph legends for Screen
2. Ability to disable graph legend for Screenitem
3. Don't show the whole legend (not only for triggers) if (sizeY < ZBX_GRAPH_LEGEND_HEIGHT)

AFAIU right now trigger legend is not shown if graph height <120px only to save some space, but it is insufficient.



 Comments   
Comment by ojab [ 2012 Nov 13 ]

Patch for pt. 3

Comment by Marcel Hecko [ 2013 May 15 ]

patch against 2.0.5 respecting legend url parameter for graph2.php

Comment by Marc [ 2015 Oct 25 ]

Distantly related: In scope of ZBXNEXT-881 exists a PoC for multi column legend in Custom graphs of Screens.

Comment by Mikhail Okhotin [ 2017 Nov 07 ]

Patch for ZBXNEXT-1509 pt. 2 (Zabbix 3.4.2)

Generated at Thu Apr 10 10:56:17 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.