Skip Menu |
 

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

Report information
The Basics
Id: 48376
Status: resolved
Priority: 0/
Queue: Chart-OFC2

People
Owner: jozef [...] kutej.net
Requestors: jgoulah [...] cpan.org
Cc:
AdminCc:

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



Download (untitled) / with headers
text/plain 1.1k
If you feed strings instead of ints for values in the json output, ofc2 doesn't display the graph properly. It would be ideal if you could coerce an array of strings to ints fed to $bar->values since this was pretty hard to figure out why the chart wasn't rendering correctly example json that when fed to ofc2 renders chart incorrectly { "tooltip" : null, "y_axis" : { "max" : "1051" }, "elements" : [ { "type" : "bar", "values" : [ "62", "67", "100", "120", "116", "475", "244", "242", "119", "259", "370", "219", "12", "242", "349", "147", "404", "35", "270", "113", "182", "202", "71", "4", "2", "2", "1051", "248", "12", "3", "61" ] } ], "title" : { "text" : "Bar chart test" } }


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.