Source for file BlackIsBackTheme.php
Documentation is available at BlackIsBackTheme.php
* <p>Title: BlackIsBack Theme class</p>
* <p>Description: Summary description for BlackIsBackTheme.</p>
* <p>Copyright (c) 2005-2008 by Steema Software SL. All Rights Reserved.</p>
* <p>Company: Steema Software SL</p>
public function apply() {
//$this->chart->getPanel()->getGradient()->setEndColor(Utils::hex2rgb('0xFF464646'));
$this->chart->getLegend()->getShadow()->setWidth(0);
$this->chart->getLegend()->getPen()->setVisible(false);
for ($t = 0; $t < $this->chart->getAxes()->getCount(); ++ $t) {
for ($t = 0; $t < $this->chart->getSeriesCount(); ++ $t) {
$this->doChangeSeries($this->chart->getSeries($t));
$chartGradient->setVisible(true);
$chartGradient->setStartColor(new Color(70,70,70));
$chartGradient->setEndColor(new Color(70,70,70));
//$chartGradient->setMiddleColor(Utils::hex2rgb('0x00000000'));
$chartWall->getPen()->setVisible(false);
//$this->resetGradient($chartWall->getGradient());
$chartAxis->getAxisPen()->setColor(Utils::hex2rgb('0xFF828282'));
$chartAxis->getGrid()->setColor(Utils::hex2rgb('0xFF828282'));
$chartAxis->getGrid()->setStyle(DashStyle::$SOLID);
$chartAxis->getLabels()->getFont()->setColor(Color::WHITE());
$chartAxis->getTicks()->setColor(Utils::hex2rgb('0xFF828282'));
$chartAxis->getMinorTicks()->setVisible(false);
private function doChangeSeries($series) {
$series->getMarks()->getFont()->setColor(Color::WHITE());
$series->getMarks()->setTransparent(true);
|