pMaps, map tags for pCharts |
|
|
This request has been opened by : castorblex |
|
Feature description |
hello, i\'m working at extension of pCharts. this include a img/map tags for dot info. regards !
<?
/*
pMaps - a PHP class to build maps for charts!
Copyright (C) 2010 Pablo Castorino (castorinop@gmail.com)
Version 1.27d-maps last updated on 06/20/10
*/ class pMaps extends pChart { /* This function draw a plot graph */
function drawPlotGraph($Data,$DataDescription,$BigRadius=5,$SmallRadius=2,$R2=-1,$G2=-1,$B2=-1,$Shadow=FALSE)
{
parent::drawPlotGraph($Data,$DataDescription,$BigRadius,$SmallRadius,$R2,$G2,$B2,$Shadow); /* Validate the Data and DataDescription array */
$this->validateDataDescription(\"drawPlotGraph\",$DataDescription);
$this->validateData(\"drawPlotGraph\",$Data); $GraphID = 0;
$Ro = $R2; $Go = $G2; $Bo = $B2; foreach ( $DataDescription[\"Values\"] as $Key2 => $ColName )
{
$ID = 0;
foreach ( $DataDescription[\"Description\"] as $keyI => $ValueI )
{ if ( $keyI == $ColName ) { $ColorID = $ID; }; $ID++; }
$R = $this->Palette[$ColorID][\"R\"];
$G = $this->Palette[$ColorID][\"G\"];
$B = $this->Palette[$ColorID][\"B\"];
$R2 = $Ro; $G2 = $Go; $B2 = $
|
Importance |
: |
|
Low |
|
Status |
: |
Not started |
Key Feature |
: |
|
Yes |
|
|
|
Message from Jean-Damien on 02/02/2011 |
Hi! Is this extension for the 1.27d version of pChart? If it is the case, mouse over functionalities will be rewritten from scratch for the 2.x trunk.
| |
To post wishes add comments or vote, you must be logged. To create an account use the Register link on top of this page.
| |