Source for file PNGFormat.php
Documentation is available at PNGFormat.php
* Description: Chart image export to PNG
* @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);
// $this->format = new JPEGImageWriteParam($this->Locale->getDefault());
public function save($ios) /* TODO throws IOException*/ {
if ($this->height <= 0) {
$img = $this->chart->image($this->width, $this->height);
imagepng($this->chart->getGraphics3D()->img,$ios);
|