Page 1 of 1
Pie charts still mangled
Posted: Fri May 11, 2012 8:18 am
by hhlodge
Now on 2.4 but this is still broken. I thought this was to be fixed long ago.
nagpie.png
Re: Pie charts still mangled
Posted: Fri May 11, 2012 10:07 am
by lmiltchev
Kyle,
I just reopened the bug report - you can view it here:
http://tracker.nagios.com/view.php?id=177
Thanks for the feedback!
Re: Pie charts still mangled
Posted: Fri May 11, 2012 10:13 am
by arnab.roy
Yup I dont think this was ever fixed!
Re: Pie charts still mangled
Posted: Mon May 14, 2012 9:26 am
by scottwilkerson
It wasn't, a different error was fixed, regarding graphs not displaying at all, but this has different roots. I'm not certain yet if this library has the ability to shift labels, and currently they display in the middle of their section of the pie. This looks fine when you have large pie sections, but with thin sections you have too many labels competing for the space.
Re: Pie charts still mangled
Posted: Wed May 16, 2012 4:55 am
by arnab.roy
Hi Scott,
I had posted this sometime back and Mike's response was
http://support.nagios.com/forum/viewtop ... =16&t=3149 here. I had told Mike about the limitation about the labels not being able to move. Cant we use the highcharts api instead as the code is already their within the graphexplorer code? Which is better in terms of looks and works extremely well.
Cheers
Arnab
Re: Pie charts still mangled
Posted: Wed May 16, 2012 4:47 pm
by scottwilkerson
I am attaching a file that I believe will resolve this.
unzip and place in
/usr/local/nagiosxi/html/reports/availability.php
Also, new graph in 2012 release should be fixed with this patch as well
Re: Pie charts still mangled
Posted: Thu May 17, 2012 12:00 pm
by arnab.roy
Now the labels are covering the text Averge Service Availability

Re: Pie charts still mangled
Posted: Thu May 17, 2012 1:39 pm
by scottwilkerson
Here's another version rotating the pie 45 degrees to shift the labels
Re: Pie charts still mangled
Posted: Thu May 31, 2012 1:46 pm
by hhlodge
Looks good! Thank you.
avail.png