1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18class Google_Service_Sheets_BasicChartSeries extends Google_Collection 19{ 20 protected $collection_key = 'styleOverrides'; 21 protected $colorType = 'Google_Service_Sheets_Color'; 22 protected $colorDataType = ''; 23 protected $colorStyleType = 'Google_Service_Sheets_ColorStyle'; 24 protected $colorStyleDataType = ''; 25 protected $dataLabelType = 'Google_Service_Sheets_DataLabel'; 26 protected $dataLabelDataType = ''; 27 protected $lineStyleType = 'Google_Service_Sheets_LineStyle'; 28 protected $lineStyleDataType = ''; 29 protected $pointStyleType = 'Google_Service_Sheets_PointStyle'; 30 protected $pointStyleDataType = ''; 31 protected $seriesType = 'Google_Service_Sheets_ChartData'; 32 protected $seriesDataType = ''; 33 protected $styleOverridesType = 'Google_Service_Sheets_BasicSeriesDataPointStyleOverride'; 34 protected $styleOverridesDataType = 'array'; 35 public $targetAxis; 36 public $type; 37 38 /** 39 * @param Google_Service_Sheets_Color 40 */ 41 public function setColor(Google_Service_Sheets_Color $color) 42 { 43 $this->color = $color; 44 } 45 /** 46 * @return Google_Service_Sheets_Color 47 */ 48 public function getColor() 49 { 50 return $this->color; 51 } 52 /** 53 * @param Google_Service_Sheets_ColorStyle 54 */ 55 public function setColorStyle(Google_Service_Sheets_ColorStyle $colorStyle) 56 { 57 $this->colorStyle = $colorStyle; 58 } 59 /** 60 * @return Google_Service_Sheets_ColorStyle 61 */ 62 public function getColorStyle() 63 { 64 return $this->colorStyle; 65 } 66 /** 67 * @param Google_Service_Sheets_DataLabel 68 */ 69 public function setDataLabel(Google_Service_Sheets_DataLabel $dataLabel) 70 { 71 $this->dataLabel = $dataLabel; 72 } 73 /** 74 * @return Google_Service_Sheets_DataLabel 75 */ 76 public function getDataLabel() 77 { 78 return $this->dataLabel; 79 } 80 /** 81 * @param Google_Service_Sheets_LineStyle 82 */ 83 public function setLineStyle(Google_Service_Sheets_LineStyle $lineStyle) 84 { 85 $this->lineStyle = $lineStyle; 86 } 87 /** 88 * @return Google_Service_Sheets_LineStyle 89 */ 90 public function getLineStyle() 91 { 92 return $this->lineStyle; 93 } 94 /** 95 * @param Google_Service_Sheets_PointStyle 96 */ 97 public function setPointStyle(Google_Service_Sheets_PointStyle $pointStyle) 98 { 99 $this->pointStyle = $pointStyle; 100 } 101 /** 102 * @return Google_Service_Sheets_PointStyle 103 */ 104 public function getPointStyle() 105 { 106 return $this->pointStyle; 107 } 108 /** 109 * @param Google_Service_Sheets_ChartData 110 */ 111 public function setSeries(Google_Service_Sheets_ChartData $series) 112 { 113 $this->series = $series; 114 } 115 /** 116 * @return Google_Service_Sheets_ChartData 117 */ 118 public function getSeries() 119 { 120 return $this->series; 121 } 122 /** 123 * @param Google_Service_Sheets_BasicSeriesDataPointStyleOverride[] 124 */ 125 public function setStyleOverrides($styleOverrides) 126 { 127 $this->styleOverrides = $styleOverrides; 128 } 129 /** 130 * @return Google_Service_Sheets_BasicSeriesDataPointStyleOverride[] 131 */ 132 public function getStyleOverrides() 133 { 134 return $this->styleOverrides; 135 } 136 public function setTargetAxis($targetAxis) 137 { 138 $this->targetAxis = $targetAxis; 139 } 140 public function getTargetAxis() 141 { 142 return $this->targetAxis; 143 } 144 public function setType($type) 145 { 146 $this->type = $type; 147 } 148 public function getType() 149 { 150 return $this->type; 151 } 152} 153