Relations::Display 0.92
Sponsored Links
Relations::Display 0.92 Ranking & Summary
File size:
0.024 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
866
Date added:
2007-06-12
Publisher:
GAF-3 Industries, Inc.
Relations::Display 0.92 description
Relations::Display is a DBI/DBD::mysql Query Graphing Perl module.
SYNOPSIS
# DBI, Relations::Display Script that creates a
# matrix, table, and graph from a query.
use DBI;
use Relations;
use Relations::Query;
use Relations::Abstract;
use Relations::Display;
$dsn = "DBI:mysql:watcher";
$username = "root";
$password = ;
$dbh = DBI->connect($dsn,$username,$password,{PrintError => 1, RaiseError => 0});
$abstract = new Relations::Abstract($dbh);
$display = new Relations::Display(-abstract => $abstract,
-query => {-select => {total => "count(*)",
first => "Bird",
second => "Count",
third => "if(gender=Male,Boy,Girl)",
tao => "if(gender=Male,Yang,Yin)",
sex => "gender",
kind => "sp_name",
id => "species.sp_id",
fourth => "(species.sp_id+50)",
vert => "2",
horiz => "1.5"},
-from => [bird,species],
-where => [species.sp_id=bird.sp_id,
species.sp_id < 4],
-group_by => [sp_name,gender,first,second],
-order_by => [gender,sp_name]},
-x_axis => first,kind,id,fourth,
-legend => second,third,tao,sex,vert,horiz,
-y_axis => total,
-hide => fourth,third,vert,horiz,
-vertical => vert,
-horizontal => horiz);
$matrix = $display->get_matrix();
$table = $display->get_table();
$display->set(-chart => bars,
-width => 400,
-height => 400,
-settings => {y_min_value => 0,
y_max_value => 3,
y_tick_number => 3,
transparent => 0}
);
$gph = $display->get_graph();
$gd = $gph->gd();
open(IMG, >test.png) or die $!;
binmode IMG;
print IMG $gd->png;
$dbh->disconnect();
SYNOPSIS
# DBI, Relations::Display Script that creates a
# matrix, table, and graph from a query.
use DBI;
use Relations;
use Relations::Query;
use Relations::Abstract;
use Relations::Display;
$dsn = "DBI:mysql:watcher";
$username = "root";
$password = ;
$dbh = DBI->connect($dsn,$username,$password,{PrintError => 1, RaiseError => 0});
$abstract = new Relations::Abstract($dbh);
$display = new Relations::Display(-abstract => $abstract,
-query => {-select => {total => "count(*)",
first => "Bird",
second => "Count",
third => "if(gender=Male,Boy,Girl)",
tao => "if(gender=Male,Yang,Yin)",
sex => "gender",
kind => "sp_name",
id => "species.sp_id",
fourth => "(species.sp_id+50)",
vert => "2",
horiz => "1.5"},
-from => [bird,species],
-where => [species.sp_id=bird.sp_id,
species.sp_id < 4],
-group_by => [sp_name,gender,first,second],
-order_by => [gender,sp_name]},
-x_axis => first,kind,id,fourth,
-legend => second,third,tao,sex,vert,horiz,
-y_axis => total,
-hide => fourth,third,vert,horiz,
-vertical => vert,
-horizontal => horiz);
$matrix = $display->get_matrix();
$table = $display->get_table();
$display->set(-chart => bars,
-width => 400,
-height => 400,
-settings => {y_min_value => 0,
y_max_value => 3,
y_tick_number => 3,
transparent => 0}
);
$gph = $display->get_graph();
$gd = $gph->gd();
open(IMG, >test.png) or die $!;
binmode IMG;
print IMG $gd->png;
$dbh->disconnect();
Relations::Display 0.92 Screenshot
Relations::Display 0.92 Keywords
DBI
Query Graphing Perl
DBD
Display 0.92
Perl module
query
id
graphing
Perl
module
0.92
Relations::Display
RelationsDisplay
Relations::Display 0.92
Libraries
Programming
Bookmark Relations::Display 0.92
Relations::Display 0.92 Copyright
WareSeeker periodically updates pricing and software information of Relations::Display 0.92 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Relations::Display 0.92 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
perl modules
dbi sala
install perl module
installing perl module
xml parser perl module
atrpms perl module helper
perl module tutorial
query builder
dbi services
query string
net ssleay perl module
perl dbi
query server
perl module install
dbi business interiors
query letter
query language
sql query
Related Software
Relations is a Perl module with functions to use with databases and queries. Free Download
PerlIO is a Perl module created to load on demand PerlIO layers and root of PerlIO::* name space. Free Download
Pod::Template is a Perl module for building pod documentation from templates. Free Download
JSON::DWIW is a Perl module that converts Perl data structures to and from JSON. Free Download
CVS Perl library is a Perl module which is is a wrapper around the CVS command with an object-oriented interface. Free Download
Blatte::HTML is a Perl module that contains tools for generating HTML with Blatte. Free Download
Perl::Dist::Builder is a Perl module to create win32 Perl installers. Free Download
Parallel::Workers::Transaction is a simple Perl module. Free Download
Latest Software
Popular Software
Favourite Software