BSD Ports

graphics/p5-Data-Google-Visualization-DataTable 0.11_1 DragonFly

Easily create Google DataTable objects for the Google Visulization API

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
graphics, perl5
Package size
21.4 KiB, 66.9 KiB installed

Description

Google's excellent Visualization suite requires you to format your Javascript data very carefully. It's entirely possible to do this by hand, especially with the help of the most excellent JSON::XS but it's a bit fiddly, largely because Perl doesn't natively support data types and Google's API accepts a super-set of JSON - see "JSON vs Javascript" below.

This module is attempts to hide the gory details of preparing your data before sending it to a JSON serializer - more specifically, hiding some of the hoops that have to be jump through for making sure your data serializes to the right data types.

Every effort has been made to keep naming conventions as close as possible to those in the API itself.

In the other systems

SystemPortVersion
DragonFlygraphics/p5-Data-Google-Visualization-DataTable0.11_1
FreeBSDgraphics/p5-Data-Google-Visualization-DataTable0.11_1

Install

Binary package:

pkg install p5-Data-Google-Visualization-DataTable

From DPorts:

cd /usr/dports/graphics/p5-Data-Google-Visualization-DataTable && make install clean

Dependencies

Run dependencies 2