Source for file Y2009.php
Documentation is available at Y2009.php
* Description: Summary description for Y2009Theme
* @copyright (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>
* @link http://www.steema.com
public function Y2009($c) {
public function apply() {
$header = $this->getChart()->getHeader();
$header->getFont()->setSize(12);
$aspect = $this->getChart()->getAspect();
// $aspect->setChart3DPercent(30);
$legend = $this->getChart()->getLegend();
$legend->getShadow()->getBrush()->setColor(new Color(120,120,120));
$legend->getPen()->setVisible(false);
/* $legend->getFont()->setSize(10);
$legend->setTransparent(true);
//$panel->getBevel()->setWidth(1);
$panel->getPen()->setVisible(true);
$panel->getPen()->setWidth(1);
//$panel->getBorderPen()->setWidth(5);
//$panel->getBorderPen()->setVisible(true);
// $panel->getBorderPen()->setColor(new Color(255,255,0));
//$panel->setBorderRound(0);
$panel->getShadow()->setSize(0);
$tmpColor1 = new Color(226,226,226);
for ( $t = 0; $t < $this->chart->getAxes()->getCount(); ++ $t) {
/* for ( $t = 0; $t < $this->chart->getSeriesCount(); ++$t) {
$this->changeSeries($this->chart->getSeries($t));
$chartGradient->setVisible(true);
$chartGradient->setEndColor(new Color(220,220,220));
// $chartGradient->setMiddleColor( Color::getEmpty());
$wall->getPen()->setVisible(false);
$wall->getPen()->setVisible(false);
$wall->getBrush()->setColor($aColor);
$chartSeries->getMarks()->setTransparent(false);
$chartSeries->getMarks()->getGradient()->setVisible(false);
$baseDir = dirname(__FILE__ ) . "/../";
$chartSeries->getMarks()->getFont()->setName(ChartFont::$DEFAULTFAMILY);
$chartSeries->getMarks()->getFont()->setSize(8);
$chartSeries->getMarks()->getArrow()->setColor(Color::getWhite());
$tmpColor2 = new Color(0,0,0);
$axes->getAxisPen()->setVisible(true);
$axes->getAxisPen()->setWidth(1);
$axes->getAxisPen()->setColor(new Color(100,100,100));
$axes->getMinorTicks()->setVisible(false);
$axes->getTicks()->setColor($tmpColor2);
$axes->getTicks()->setLength(3);
$f= $axes->getLabels()->getFont();
$baseDir = dirname(__FILE__ ) . "/../";
$f->setColor($tmpColor2);
$axes->getTitle()->getFont()->setName(ChartFont::$DEFAULTFAMILY);
$axes->getTitle()->getFont()->setColor($tmpColor2);
|