Skip Menu |

This queue is for tickets about the URI-GoogleChart CPAN distribution.

Report information
The Basics
Id: 48526
Status: rejected
Priority: 0/
Queue: URI-GoogleChart

People
Owner: Nobody in particular
Requestors: jianing [...] gmail.com
Cc:
AdminCc:

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



Subject: color/label defined in data series not respected.
Date: Fri, 7 Aug 2009 11:52:32 -0700
To: bug-URI-GoogleChart [...] rt.cpan.org
From: Jianing Hu <jianing [...] gmail.com>
Hi There, I'm having a problem where the color and label defined in data series are not in the generated URL. e.g.: warn URI::GoogleChart->new( 'line', 400, 300, encoding => 's', data => [ { color => 'red', label => 'red', v => ['0','7','5','9','22','13'], } ] ); prints http://chart.apis.google.com/chart?cht=line&chs=400x300&chd=s:ATNY9k but if the color/label are defined outside of data series then it works: warn URI::GoogleChart->new( 'line', 400, 300, encoding => 's', data => [ { v => ['0','7','5','9','22','13'], } ], color => 'red', label => 'red' ); prints http://chart.apis.google.com/chart?cht=line&chs=400x300&chco=FF0000&chdl=red&chd=s:ATNY9k Thanks, - Jianing
The docs do state that the only property that can currently be specified within a data series (besides "v") is "range". If you have a doc patch to suggest I'll consider it.