Subject: | Fwd: Regarding: Issue faced in pie chart related module. |
Date: | Wed, 11 Dec 2013 17:36:18 +0530 |
To: | bug-Graph [...] rt.cpan.org |
From: | Manas Marwah <manas.marwah [...] gmail.com> |
Hi,
Hope you are doing good !
I am working on a project which involves Pie chart drawing. For the same I
am using perl library "perl-GDGraph-1.44-15.fc19.noarch". In some specific
condition I am facing issues in pie chart. One of the sector color is
spilling out to the adjacent sector when that particular sector is having
very low percentage (0.2).
I am attaching the snapshot of pie chart and the perl script which I am
using for creating pie chart.
There are certain condition where I am NOT facing this issue with the same
sectors value.
1). If I'll change the size of pie chart
my $graph = new GD::Graph::pie(*180,120*); --> my $graph = new
GD::Graph::pie(*200,140*);
2) If I will disable 3D flag in the set values:
$graph->set (
axislabelclr => 'black',
pie_height => 20,
l_margin => 5,
r_margin => 5,
transparent => 1,
dclrs => ['#0081FF','#0000FF', '#00FFFF', '#FFC0FF', '#FF00FF'],
* 3d => 0*
);
Perl Version I am using: "This is perl 5, version 16, subversion 3
(v5.16.3) built for i386-linux-thread-multi" in Linux Environment.
Please tell me what wrong I am doing or is it an existing bug in the perl
libraries?
--
Thanks & Regards,
Manas Marwah
Message body not shown because it is not plain text.