develooper Front page | perl.dbi.users | Postings from January 2007

Secondary Y-Axis DBD::Chart

Thread Next
From:
THIAGO LACERDA ZAGO
Date:
January 2, 2007 06:03
Subject:
Secondary Y-Axis DBD::Chart
Message ID:
AB2A6EB29F90CE43A953453A7533146D03032A11@RJOCPDMS01.internal.timbrasil.com.br
Do you have any idea how a I can plot a secondary y-axis scale like we do in MS-Excel to express in the scalar values on the left hand and absolute on the right eg. Percentage values ?

Currently, I can see that DBD::Chart reference (http://www.presicient.com/dbixchart/) only provides means of plotting only on a single Y-axis scale.

 

 

use DBI;

use DBD::Chart;

 

…

    select * from symline
    returning linegraph(*), imagemap
    where WIDTH=500 AND HEIGHT=500
    AND X_AXIS='Some Domain'
    and Y_AXIS='Some Range' (I’d like to add here a secondary Y-axis scale like we do in MS-excel)
    AND TITLE='Symbolic Domain Linegraph Test'
    AND SIGNATURE='(C)2002, GOWI Systems'
    AND LOGO='t/gowilogo.png'
    AND FORMAT='PNG'
    AND SHOWGRID=1
    AND MAPNAME='symline'
    AND MAPURL='http://www.gowi.com/cgi-bin/sample.pl?x=:X&y=:Y&z=:Z&plotno=:PLOTNUM'
    AND MAPTYPE='HTML' AND COLOR=newcolor AND SHAPE=fillcircle
    

 

Thanks in advance.

 

BR’s.

 

Thiago


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.2/613 - Release Date: 1/1/2007 14:50
 

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About