Pie charts still mangled

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
hhlodge
Posts: 206
Joined: Tue Mar 08, 2011 2:13 pm

Pie charts still mangled

Post by hhlodge »

Now on 2.4 but this is still broken. I thought this was to be fixed long ago.
nagpie.png
You do not have the required permissions to view the files attached to this post.
- Kyle
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Pie charts still mangled

Post 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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Re: Pie charts still mangled

Post by arnab.roy »

Yup I dont think this was ever fixed!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Pie charts still mangled

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Re: Pie charts still mangled

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Pie charts still mangled

Post 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
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Re: Pie charts still mangled

Post by arnab.roy »

Now the labels are covering the text Averge Service Availability :(
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Pie charts still mangled

Post by scottwilkerson »

Here's another version rotating the pie 45 degrees to shift the labels
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
hhlodge
Posts: 206
Joined: Tue Mar 08, 2011 2:13 pm

Re: Pie charts still mangled

Post by hhlodge »

Looks good! Thank you.
avail.png
You do not have the required permissions to view the files attached to this post.
- Kyle