Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the SVG-TT-Graph CPAN distribution.

Report information
The Basics
Id: 20845
Status: rejected
Priority: 0/
Queue: SVG-TT-Graph

People
Owner: Nobody in particular
Requestors: andrew [...] etc.gen.nz
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: 'other' grouping for Pie charts?
Date: Fri, 04 Aug 2006 23:18:49 +1200
To: bug-SVG-TT-Graph [...] rt.cpan.org
From: Andrew Ruthven <andrew [...] etc.gen.nz>
Hi, This isn't really a bug report, it is more a wishlist... I'm currently generating some graphs with SVG::TT::Graph::Pie and noticed that the labels on the individual segments can become very difficult to read if there are several 1% segments. The method I'm going to use to get around this is to group every segment under (say) 5% into one group called 'Other'. At the moment I'm going to need to write some code to pre-process the data before I feed it into SVG::TT::Graph::Pie. It would be handy to just set a parameter on the pie chart to group everything under 5%. I've had a quick look in the code, but it looks modifying the TT code to support this is not trivial! Have you thought about adding this funtionality? Cheers! -- Andrew Ruthven Wellington, New Zealand At home: andrew@etc.gen.nz | This space intentionally | left blank.
Show quoted text
> It would be handy to just set a parameter on the pie chart to group > everything under 5%. I've had a quick look in the code, but it looks > modifying the TT code to support this is not trivial! > > Have you thought about adding this funtionality?
Never thought about it - I'd be happy to take a patch, you could probably do it in the code before it got to the TT section to make it easier. Or I'll leave it on the wishlist incase someone else (or me) gets a chance at some point Thanks for the idea
From: andrew [...] etc.gen.nz
Show quoted text
> Never thought about it - I'd be happy to take a patch, you could > probably do it in the code before it got to the TT section to make it > easier.
Back when I was wanting to do this, I ended up using your suggestion and performing the grouping before I created the graph.
On Thu Mar 27 21:01:46 2008, andrew@etc.gen.nz wrote: Show quoted text
> > Never thought about it - I'd be happy to take a patch, you could > > probably do it in the code before it got to the TT section to make it > > easier.
> > Back when I was wanting to do this, I ended up using your suggestion and > performing the grouping before I created the graph.
Closing as has no patch has been forth coming and I think it's easy enough to be doing in code before you hit the Graph