SVG::Template::Graph

SVG::Template::Graph is a Perl extension for generating template-driven graphs with SVG.
Download

SVG::Template::Graph Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Ronan Oger
  • Publisher web site:
  • http://search.cpan.org/~ronan/SVG-Template-Graph-0.15/lib/SVG/Template/Graph.pm

SVG::Template::Graph Tags


SVG::Template::Graph Description

SVG::Template::Graph is a Perl extension for generating template-driven graphs with SVG. SVG::Template::Graph is a Perl extension for generating template-driven graphs with SVG.SYNOPSIS use SVG::Template::Graph; $data = , 'y_val' => , }, 'format' => { #note that these values could change for *each* trace 'lineGraph' => 1, 'x_min' => 0, 'x_max' => 600, 'y_min' => 50, 'y_max' => 200, 'x_axis' => 1, #draw x-axis 'y_axis' => 1, #draw y-axis #define the labels that provide the data context. 'labels' => { #for year labels, we have to center the axis markers 'x_ticks' => { 'label' =>, 'position'=>, }, 'y_ticks' => { #tick mark labels 'label' => , #tick mark location in the data space 'position' => , }, }, }, }, ]; #construct a new SVG::Template::Graph object with a file handle my $tt = SVG::Template::Graph->new($file); #set up the titles for the graph $tt->setGraphTitle(); #generate the traces. $tt->drawTraces($data,$anchor_rectangle_id); #serialize and print print $tt->burn();Template::Graph:SVG is a module for the generation of template-driven graphs using Scalable Vector Graphics (SVG). Using this module, it is possible to define a template SVG document with containers which are populated with correctly scaled plot images. Requirements: · Perl


SVG::Template::Graph Related Software