Skip Menu |

This queue is for tickets about the GDGraph CPAN distribution.

Maintainer(s)' notes

There are plenty of good ideas of what people can do published here on the queue. Turning a patch from the tracker into a pull request is not one of them. In order to get maintainers' attention way more quickier, PR should have at least a sample included. We know it's hard to test images generating software, but it doesn't mean we can not test numbers produced by intermediate algorithms used to generate these images, so either a test or a sample.

Report information
The Basics
Id: 60048
Status: open
Priority: 0/
Queue: GDGraph

People
Owner: Nobody in particular
Requestors: justincase [...] yopmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.44
Fixed in: (no value)



Subject: Value goes off top when bar is close to top for that tick_number
In the example below, show_values is on, tick_number is the default (5), there is one bar of value 99, which extends close to the top tickmark (100) for that tick_number. Instead of extending the range so that the value can fit nicely in the graph area, the value for the bar partially goes off the top edge of the graph. In fact, if you change the 99 to 100, the bar simply goes all the way to the top, and you can't even see any piece of its value. I want it take the value label into account when calculating a range. #!/usr/bin/perl use strict; use warnings; use GD::Graph::bars; my $my_graph = GD::Graph::bars->new; $my_graph->set( show_values => 1, ) or warn $my_graph->error; $my_graph->plot( [['foo'],[99]] ) or die $my_graph->error; my $ext = $my_graph->export_format; open OUT, '>', "test2.$ext" or die "Cannot open for write: $!"; binmode OUT; print OUT $my_graph->gd->$ext; close OUT;
Subject: test2.gif
Download test2.gif
image/gif 2.1k
test2.gif
Subject: New GD::Graph co-maintainer and new release on CPAN
Hello, You recieved this message as you filed a bug report or feature request against GD::Graph module on CPAN. My name is Ruslan and I'm new co-maintainer of the module. I've updated the module to 1.45 with doc changes and released it to CPAN. See distribution status [1]. I have TODO list for several releases, so if your ticket was a patch then turning it into a nice pull request may expedite inclusion :) [1] http://search.cpan.org/~ruz/GDGraph-1.45/Graph.pm#DISTRIBUTION_STATUS -- Best regards, Ruslan.