Source for file ExtraLegend.php
Documentation is available at ExtraLegend.php
* Description: ExtraLegend tool
* @copyright (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>
* @link http://www.steema.com
function __get( $property ) {
$method = "get{$property}";
function __set ( $property,$value ) {
$method = "set{$property}";
return $this->$method($value);
* Defines the Legend characteristics.
if ($this->legend == null) {
$this->legend->setCustomPosition(true);
* Defines the Legend characteristics.
$this->legend->assign($value);
if (/*($ce->getID()==$tmpChartDrawEvent->PAINTED) &&*/
$this->drawExtraLegend();
private function drawExtraLegend() {
$rect = $this->chart->getChartRect();
$tmp = $this->chart->getLegend();
$rect = $this->chart->doDrawLegend($this->chart->getGraphics3D(), $rect);
$this->chart->setLegend($tmp);
* Gets detailed descriptive text.
|