@@ 272-281 (lines=10) @@ | ||
269 | * |
|
270 | * @return DataSeriesValues |
|
271 | */ |
|
272 | public function getPlotCategoryByIndex($index) |
|
273 | { |
|
274 | $keys = array_keys($this->plotCategory); |
|
275 | if (in_array($index, $keys)) { |
|
276 | return $this->plotCategory[$index]; |
|
277 | } elseif (isset($keys[$index])) { |
|
278 | return $this->plotCategory[$keys[$index]]; |
|
279 | } |
|
280 | ||
281 | return false; |
|
282 | } |
|
283 | ||
284 | /** |
|
@@ 325-334 (lines=10) @@ | ||
322 | * |
|
323 | * @return DataSeriesValues |
|
324 | */ |
|
325 | public function getPlotValuesByIndex($index) |
|
326 | { |
|
327 | $keys = array_keys($this->plotValues); |
|
328 | if (in_array($index, $keys)) { |
|
329 | return $this->plotValues[$index]; |
|
330 | } elseif (isset($keys[$index])) { |
|
331 | return $this->plotValues[$keys[$index]]; |
|
332 | } |
|
333 | ||
334 | return false; |
|
335 | } |
|
336 | ||
337 | /** |
|
@@ 243-252 (lines=10) @@ | ||
240 | * |
|
241 | * @return DataSeriesValues |
|
242 | */ |
|
243 | public function getPlotLabelByIndex($index) |
|
244 | { |
|
245 | $keys = array_keys($this->plotLabel); |
|
246 | if (in_array($index, $keys)) { |
|
247 | return $this->plotLabel[$index]; |
|
248 | } elseif (isset($keys[$index])) { |
|
249 | return $this->plotLabel[$keys[$index]]; |
|
250 | } |
|
251 | ||
252 | return false; |
|
253 | } |
|
254 | ||
255 | /** |