Skip Menu |
 

This queue is for tickets about the Google-Chart CPAN distribution.

Report information
The Basics
Id: 45505
Status: new
Priority: 0/
Queue: Google-Chart

People
Owner: Nobody in particular
Requestors: MSCHILLI [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.05013
Fixed in: (no value)

Attachments


Subject: Adding support for XY Line Graphs
Download (untitled) / with headers
text/plain 118b
Here's a patch to add XY line graphs (given two data sets per line) to Google::Chart, as documented in the Google API.
Subject: 0001-Added-XY-type-graphs.patch
From ad9531af3708ed425d97d3403582fa019122f998 Mon Sep 17 00:00:00 2001 From: mschilli <m@perlmeister.com> Date: Mon, 27 Apr 2009 23:30:49 -0700 Subject: [PATCH] Added XY type graphs --- lib/Google/Chart/Type/XY.pm | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) create mode 100644 lib/Google/Chart/Type/XY.pm diff --git a/lib/Google/Chart/Type/XY.pm b/lib/Google/Chart/Type/XY.pm new file mode 100644 index 0000000..9988432 --- /dev/null +++ b/lib/Google/Chart/Type/XY.pm @@ -0,0 +1,27 @@ +# $Id$ + +package Google::Chart::Type::XY; +use Moose; +use constant parameter_value => 'lxy'; + +with 'Google::Chart::Type::Simple'; + +no Moose; + +1; + +__END__ + +=head1 NAME + +Google::Chart::Type::XY - Google::Chart XY Line Type + +In charts of this type, each drawn line is defined by a pair of +data sets, one of X coordinates and one for Y coordinates. See +the API documentation at + + http://code.google.com/apis/chart/types.html#line_charts + +for details. + +=cut -- 1.5.4.3


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.