[ZBXNEXT-1283] Better pie chart layout Created: 2012 May 24 Updated: 2024 Mar 08 |
|
Status: | Open |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Frontend (F) |
Affects Version/s: | 2.0.0 |
Fix Version/s: | None |
Type: | Change Request | Priority: | Trivial |
Reporter: | Joseph Bueno | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 7 |
Labels: | patch, piegraphs, trivial | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | class.cpie.php.patch zabbix_pie.png zabbix_pie_optimized.png | ||||||||||||||||
Issue Links: |
|
Description |
When 'Show legend' option is active in a pie chart, a lot of space is lost on the right side as can be seen in attached zabbix_pie.png. I have attached a patch that:
After applying this patch, the pie looks like attached zabbix_pie_optimized.png and graph width can be reduced. |
Comments |
Comment by Chris Kistner [ 2012 Jul 27 ] |
Thank you for this great patch! I've also made a contribution to this in your thread for Zabbix 1.8: http://www.zabbix.com/forum/showpost.php?p=105660&postcount=2 |
Comment by Alexander Vladishev [ 2013 Feb 08 ] |
Comment by Gilboa Davara [ 2013 Apr 14 ] |
Hi, I applied the patch to 2.0.5 and indeed things look far better.
|
Comment by Robin Björklin [ 2016 Aug 31 ] |
I was just about to request this feature when I found this. How come this has not been merged? |
Comment by Rabin [ 2017 Aug 02 ] |
+1 to merge this patch upstream, the current pie display is really broken and not readable ! p.s, just saw the code for version 3.0 is completely different which doesn't allow to apply this patch manually, so if any one can please patch version 3.0, that would be great, thanks. |