00001 <?php 00002 /*************************************************************************** 00003 * Copyright (C) 2008-2009 by Denis M. Gabaidulin * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU Lesser General Public License as * 00007 * published by the Free Software Foundation; either version 3 of the * 00008 * License, or (at your option) any later version. * 00009 * * 00010 ***************************************************************************/ 00011 00015 final class GoogleChartLine extends GoogleChartPiece 00016 { 00017 private $style = null; 00018 private $labelStyle = null; 00019 00023 public static function create() 00024 { 00025 return new self; 00026 } 00027 00031 public function setValue(/* GoogleChartDataSet */ $value) 00032 { 00033 return parent::setValue($value); 00034 } 00035 00039 public function setStyle(ChartLineStyle $style) 00040 { 00041 $this->style = $style; 00042 00043 return $this; 00044 } 00045 00049 public function getStyle() 00050 { 00051 return $this->style; 00052 } 00053 00057 public function setLabelStyle(ChartLabelStyle $style) 00058 { 00059 $this->labelStyle = $style; 00060 00061 return $this; 00062 } 00063 00067 public function getLabelStyle() 00068 { 00069 return $this->labelStyle; 00070 } 00071 } 00072 ?>