Няма описание

BasicChartSpec.php 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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. class Google_Service_Sheets_BasicChartSpec extends Google_Collection
  18. {
  19. protected $collection_key = 'series';
  20. protected $axisType = 'Google_Service_Sheets_BasicChartAxis';
  21. protected $axisDataType = 'array';
  22. public $chartType;
  23. public $compareMode;
  24. protected $domainsType = 'Google_Service_Sheets_BasicChartDomain';
  25. protected $domainsDataType = 'array';
  26. public $headerCount;
  27. public $interpolateNulls;
  28. public $legendPosition;
  29. public $lineSmoothing;
  30. protected $seriesType = 'Google_Service_Sheets_BasicChartSeries';
  31. protected $seriesDataType = 'array';
  32. public $stackedType;
  33. public $threeDimensional;
  34. /**
  35. * @param Google_Service_Sheets_BasicChartAxis
  36. */
  37. public function setAxis($axis)
  38. {
  39. $this->axis = $axis;
  40. }
  41. /**
  42. * @return Google_Service_Sheets_BasicChartAxis
  43. */
  44. public function getAxis()
  45. {
  46. return $this->axis;
  47. }
  48. public function setChartType($chartType)
  49. {
  50. $this->chartType = $chartType;
  51. }
  52. public function getChartType()
  53. {
  54. return $this->chartType;
  55. }
  56. public function setCompareMode($compareMode)
  57. {
  58. $this->compareMode = $compareMode;
  59. }
  60. public function getCompareMode()
  61. {
  62. return $this->compareMode;
  63. }
  64. /**
  65. * @param Google_Service_Sheets_BasicChartDomain
  66. */
  67. public function setDomains($domains)
  68. {
  69. $this->domains = $domains;
  70. }
  71. /**
  72. * @return Google_Service_Sheets_BasicChartDomain
  73. */
  74. public function getDomains()
  75. {
  76. return $this->domains;
  77. }
  78. public function setHeaderCount($headerCount)
  79. {
  80. $this->headerCount = $headerCount;
  81. }
  82. public function getHeaderCount()
  83. {
  84. return $this->headerCount;
  85. }
  86. public function setInterpolateNulls($interpolateNulls)
  87. {
  88. $this->interpolateNulls = $interpolateNulls;
  89. }
  90. public function getInterpolateNulls()
  91. {
  92. return $this->interpolateNulls;
  93. }
  94. public function setLegendPosition($legendPosition)
  95. {
  96. $this->legendPosition = $legendPosition;
  97. }
  98. public function getLegendPosition()
  99. {
  100. return $this->legendPosition;
  101. }
  102. public function setLineSmoothing($lineSmoothing)
  103. {
  104. $this->lineSmoothing = $lineSmoothing;
  105. }
  106. public function getLineSmoothing()
  107. {
  108. return $this->lineSmoothing;
  109. }
  110. /**
  111. * @param Google_Service_Sheets_BasicChartSeries
  112. */
  113. public function setSeries($series)
  114. {
  115. $this->series = $series;
  116. }
  117. /**
  118. * @return Google_Service_Sheets_BasicChartSeries
  119. */
  120. public function getSeries()
  121. {
  122. return $this->series;
  123. }
  124. public function setStackedType($stackedType)
  125. {
  126. $this->stackedType = $stackedType;
  127. }
  128. public function getStackedType()
  129. {
  130. return $this->stackedType;
  131. }
  132. public function setThreeDimensional($threeDimensional)
  133. {
  134. $this->threeDimensional = $threeDimensional;
  135. }
  136. public function getThreeDimensional()
  137. {
  138. return $this->threeDimensional;
  139. }
  140. }