source: vendor/google/apiclient-services/src/Sheets/ChartSpec.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 3 weeks ago

Upload new project files

  • Property mode set to 100644
File size: 9.1 KB
Line 
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
18namespace Google\Service\Sheets;
19
20class ChartSpec extends \Google\Collection
21{
22 protected $collection_key = 'sortSpecs';
23 /**
24 * @var string
25 */
26 public $altText;
27 protected $backgroundColorType = Color::class;
28 protected $backgroundColorDataType = '';
29 protected $backgroundColorStyleType = ColorStyle::class;
30 protected $backgroundColorStyleDataType = '';
31 protected $basicChartType = BasicChartSpec::class;
32 protected $basicChartDataType = '';
33 protected $bubbleChartType = BubbleChartSpec::class;
34 protected $bubbleChartDataType = '';
35 protected $candlestickChartType = CandlestickChartSpec::class;
36 protected $candlestickChartDataType = '';
37 protected $dataSourceChartPropertiesType = DataSourceChartProperties::class;
38 protected $dataSourceChartPropertiesDataType = '';
39 protected $filterSpecsType = FilterSpec::class;
40 protected $filterSpecsDataType = 'array';
41 /**
42 * @var string
43 */
44 public $fontName;
45 /**
46 * @var string
47 */
48 public $hiddenDimensionStrategy;
49 protected $histogramChartType = HistogramChartSpec::class;
50 protected $histogramChartDataType = '';
51 /**
52 * @var bool
53 */
54 public $maximized;
55 protected $orgChartType = OrgChartSpec::class;
56 protected $orgChartDataType = '';
57 protected $pieChartType = PieChartSpec::class;
58 protected $pieChartDataType = '';
59 protected $scorecardChartType = ScorecardChartSpec::class;
60 protected $scorecardChartDataType = '';
61 protected $sortSpecsType = SortSpec::class;
62 protected $sortSpecsDataType = 'array';
63 /**
64 * @var string
65 */
66 public $subtitle;
67 protected $subtitleTextFormatType = TextFormat::class;
68 protected $subtitleTextFormatDataType = '';
69 protected $subtitleTextPositionType = TextPosition::class;
70 protected $subtitleTextPositionDataType = '';
71 /**
72 * @var string
73 */
74 public $title;
75 protected $titleTextFormatType = TextFormat::class;
76 protected $titleTextFormatDataType = '';
77 protected $titleTextPositionType = TextPosition::class;
78 protected $titleTextPositionDataType = '';
79 protected $treemapChartType = TreemapChartSpec::class;
80 protected $treemapChartDataType = '';
81 protected $waterfallChartType = WaterfallChartSpec::class;
82 protected $waterfallChartDataType = '';
83
84 /**
85 * @param string
86 */
87 public function setAltText($altText)
88 {
89 $this->altText = $altText;
90 }
91 /**
92 * @return string
93 */
94 public function getAltText()
95 {
96 return $this->altText;
97 }
98 /**
99 * @param Color
100 */
101 public function setBackgroundColor(Color $backgroundColor)
102 {
103 $this->backgroundColor = $backgroundColor;
104 }
105 /**
106 * @return Color
107 */
108 public function getBackgroundColor()
109 {
110 return $this->backgroundColor;
111 }
112 /**
113 * @param ColorStyle
114 */
115 public function setBackgroundColorStyle(ColorStyle $backgroundColorStyle)
116 {
117 $this->backgroundColorStyle = $backgroundColorStyle;
118 }
119 /**
120 * @return ColorStyle
121 */
122 public function getBackgroundColorStyle()
123 {
124 return $this->backgroundColorStyle;
125 }
126 /**
127 * @param BasicChartSpec
128 */
129 public function setBasicChart(BasicChartSpec $basicChart)
130 {
131 $this->basicChart = $basicChart;
132 }
133 /**
134 * @return BasicChartSpec
135 */
136 public function getBasicChart()
137 {
138 return $this->basicChart;
139 }
140 /**
141 * @param BubbleChartSpec
142 */
143 public function setBubbleChart(BubbleChartSpec $bubbleChart)
144 {
145 $this->bubbleChart = $bubbleChart;
146 }
147 /**
148 * @return BubbleChartSpec
149 */
150 public function getBubbleChart()
151 {
152 return $this->bubbleChart;
153 }
154 /**
155 * @param CandlestickChartSpec
156 */
157 public function setCandlestickChart(CandlestickChartSpec $candlestickChart)
158 {
159 $this->candlestickChart = $candlestickChart;
160 }
161 /**
162 * @return CandlestickChartSpec
163 */
164 public function getCandlestickChart()
165 {
166 return $this->candlestickChart;
167 }
168 /**
169 * @param DataSourceChartProperties
170 */
171 public function setDataSourceChartProperties(DataSourceChartProperties $dataSourceChartProperties)
172 {
173 $this->dataSourceChartProperties = $dataSourceChartProperties;
174 }
175 /**
176 * @return DataSourceChartProperties
177 */
178 public function getDataSourceChartProperties()
179 {
180 return $this->dataSourceChartProperties;
181 }
182 /**
183 * @param FilterSpec[]
184 */
185 public function setFilterSpecs($filterSpecs)
186 {
187 $this->filterSpecs = $filterSpecs;
188 }
189 /**
190 * @return FilterSpec[]
191 */
192 public function getFilterSpecs()
193 {
194 return $this->filterSpecs;
195 }
196 /**
197 * @param string
198 */
199 public function setFontName($fontName)
200 {
201 $this->fontName = $fontName;
202 }
203 /**
204 * @return string
205 */
206 public function getFontName()
207 {
208 return $this->fontName;
209 }
210 /**
211 * @param string
212 */
213 public function setHiddenDimensionStrategy($hiddenDimensionStrategy)
214 {
215 $this->hiddenDimensionStrategy = $hiddenDimensionStrategy;
216 }
217 /**
218 * @return string
219 */
220 public function getHiddenDimensionStrategy()
221 {
222 return $this->hiddenDimensionStrategy;
223 }
224 /**
225 * @param HistogramChartSpec
226 */
227 public function setHistogramChart(HistogramChartSpec $histogramChart)
228 {
229 $this->histogramChart = $histogramChart;
230 }
231 /**
232 * @return HistogramChartSpec
233 */
234 public function getHistogramChart()
235 {
236 return $this->histogramChart;
237 }
238 /**
239 * @param bool
240 */
241 public function setMaximized($maximized)
242 {
243 $this->maximized = $maximized;
244 }
245 /**
246 * @return bool
247 */
248 public function getMaximized()
249 {
250 return $this->maximized;
251 }
252 /**
253 * @param OrgChartSpec
254 */
255 public function setOrgChart(OrgChartSpec $orgChart)
256 {
257 $this->orgChart = $orgChart;
258 }
259 /**
260 * @return OrgChartSpec
261 */
262 public function getOrgChart()
263 {
264 return $this->orgChart;
265 }
266 /**
267 * @param PieChartSpec
268 */
269 public function setPieChart(PieChartSpec $pieChart)
270 {
271 $this->pieChart = $pieChart;
272 }
273 /**
274 * @return PieChartSpec
275 */
276 public function getPieChart()
277 {
278 return $this->pieChart;
279 }
280 /**
281 * @param ScorecardChartSpec
282 */
283 public function setScorecardChart(ScorecardChartSpec $scorecardChart)
284 {
285 $this->scorecardChart = $scorecardChart;
286 }
287 /**
288 * @return ScorecardChartSpec
289 */
290 public function getScorecardChart()
291 {
292 return $this->scorecardChart;
293 }
294 /**
295 * @param SortSpec[]
296 */
297 public function setSortSpecs($sortSpecs)
298 {
299 $this->sortSpecs = $sortSpecs;
300 }
301 /**
302 * @return SortSpec[]
303 */
304 public function getSortSpecs()
305 {
306 return $this->sortSpecs;
307 }
308 /**
309 * @param string
310 */
311 public function setSubtitle($subtitle)
312 {
313 $this->subtitle = $subtitle;
314 }
315 /**
316 * @return string
317 */
318 public function getSubtitle()
319 {
320 return $this->subtitle;
321 }
322 /**
323 * @param TextFormat
324 */
325 public function setSubtitleTextFormat(TextFormat $subtitleTextFormat)
326 {
327 $this->subtitleTextFormat = $subtitleTextFormat;
328 }
329 /**
330 * @return TextFormat
331 */
332 public function getSubtitleTextFormat()
333 {
334 return $this->subtitleTextFormat;
335 }
336 /**
337 * @param TextPosition
338 */
339 public function setSubtitleTextPosition(TextPosition $subtitleTextPosition)
340 {
341 $this->subtitleTextPosition = $subtitleTextPosition;
342 }
343 /**
344 * @return TextPosition
345 */
346 public function getSubtitleTextPosition()
347 {
348 return $this->subtitleTextPosition;
349 }
350 /**
351 * @param string
352 */
353 public function setTitle($title)
354 {
355 $this->title = $title;
356 }
357 /**
358 * @return string
359 */
360 public function getTitle()
361 {
362 return $this->title;
363 }
364 /**
365 * @param TextFormat
366 */
367 public function setTitleTextFormat(TextFormat $titleTextFormat)
368 {
369 $this->titleTextFormat = $titleTextFormat;
370 }
371 /**
372 * @return TextFormat
373 */
374 public function getTitleTextFormat()
375 {
376 return $this->titleTextFormat;
377 }
378 /**
379 * @param TextPosition
380 */
381 public function setTitleTextPosition(TextPosition $titleTextPosition)
382 {
383 $this->titleTextPosition = $titleTextPosition;
384 }
385 /**
386 * @return TextPosition
387 */
388 public function getTitleTextPosition()
389 {
390 return $this->titleTextPosition;
391 }
392 /**
393 * @param TreemapChartSpec
394 */
395 public function setTreemapChart(TreemapChartSpec $treemapChart)
396 {
397 $this->treemapChart = $treemapChart;
398 }
399 /**
400 * @return TreemapChartSpec
401 */
402 public function getTreemapChart()
403 {
404 return $this->treemapChart;
405 }
406 /**
407 * @param WaterfallChartSpec
408 */
409 public function setWaterfallChart(WaterfallChartSpec $waterfallChart)
410 {
411 $this->waterfallChart = $waterfallChart;
412 }
413 /**
414 * @return WaterfallChartSpec
415 */
416 public function getWaterfallChart()
417 {
418 return $this->waterfallChart;
419 }
420}
421
422// Adding a class alias for backwards compatibility with the previous class name.
423class_alias(ChartSpec::class, 'Google_Service_Sheets_ChartSpec');
Note: See TracBrowser for help on using the repository browser.