Lines Matching defs:Data
304 function drawScale(pData $Data, ScaleStyle $style, $Angle = 0, $Decimals = 1, $WithMargin = FALSE, $SkipLabels = 1, $RightScale = FALSE) {
305 /* Validate the Data and DataDescription array */
306 $this->validateData("drawScale", $Data->getData());
326 $Divisions = $this->calculateDivisions($Data, $style);
341 if(count($Data->getData()) > 1) {
343 $this->DivisionWidth = ($this->GArea_X2 - $this->GArea_X1) / (count($Data->getData()) - 1);
345 $this->DivisionWidth = ($this->GArea_X2 - $this->GArea_X1) / (count($Data->getData()));
353 $this->DataCount = count($Data->getData());
384 $Data->getDataDescription()->getYFormat(),
385 $Data->getDataDescription()->getYUnit()
424 if($Data->getDataDescription()->getYAxisName() != '') {
425 $Position = imageftbbox($this->FontSize, 90, $this->FontName, $Data->getDataDescription()->getYAxisName());
435 $Data->getDataDescription()->getYAxisName(),
444 $Data->getDataDescription()->getYAxisName(),
454 foreach($Data->getData() as $Values) {
464 $Value = $Values[$Data->getDataDescription()->getPosition()];
467 $Data->getDataDescription()->getXFormat(),
468 $Data->getDataDescription()->getXUnit()
523 if($Data->getDataDescription()->getXAxisName() != '') {
527 $Data->getDataDescription()->getXAxisName()
536 $Data->getDataDescription()->getXAxisName(),
554 private function calculateDivisions(pData $Data, ScaleStyle $style) {
555 if(isset ($Data->getDataDescription()->values[0])) {
559 $dataArray = $Data->getData();
560 $this->VMin = $dataArray[0] [$Data->getDataDescription()->values[0]];
561 $this->VMax = $dataArray[0] [$Data->getDataDescription()->values[0]];
575 foreach($Data->getData() as $Values) {
576 foreach($Data->getDataDescription()->values as $ColName) {
596 foreach($Data->getData() as $Values) {
598 foreach($Data->getDataDescription()->values as $ColName) {
599 $dataArray = $Data->getData();
645 function drawXYScale(pData $Data, ScaleStyle $style, $YSerieName, $XSerieName, $Angle = 0, $Decimals = 1) {
646 /* Validate the Data and DataDescription array */
647 $this->validateData("drawScale", $Data->getData());
668 $this->VMin = $Data->getSeriesMin($YSerieName);
669 $this->VMax = $Data->getSeriesMax($YSerieName);
715 $Data->getDataDescription()->getYFormat(),
716 $Data->getDataDescription()->getYUnit()
741 $this->VXMax = $Data->getSeriesMax($XSerieName);
742 $this->VXMin = $Data->getSeriesMin($XSerieName);
788 $Data->getDataDescription()->getYFormat(),
789 $Data->getDataDescription()->getYUnit()
843 if($Data->getDataDescription()->getYAxisName() != '') {
846 $Data->getDataDescription()->getYAxisName()
857 $Data->getDataDescription()->getYAxisName(),
863 $this->writeScaleXAxisCaption($Data, $style, $YMax);
1007 /* Validate the Data and DataDescription array */
1256 function setLabel($Data, $DataDescription, $SerieName, $ValueName, $Caption, Color $color = null) {
1261 /* Validate the Data and DataDescription array */
1263 $this->validateData("setLabel", $Data);
1268 foreach($Data as $Value) {
1379 function drawPlotGraph($Data, $DataDescription, $BigRadius = 5, $SmallRadius = 2, Color $color2 = null, $Shadow = FALSE) {
1380 /* Validate the Data and DataDescription array */
1382 $this->validateData("drawPlotGraph", $Data);
1404 foreach($Data as $Values) {
1485 $Data = $DataSet->getData();
1486 foreach($Data as $Values) {
1559 function drawArea($Data, $Serie1, $Serie2, Color $color, $Alpha = 50) {
1560 /* Validate the Data and DataDescription array */
1561 $this->validateData("drawArea", $Data);
1569 foreach($Data as $Values) {
1605 function writeValues($Data, $DataDescription, $Series) {
1606 /* Validate the Data and DataDescription array */
1608 $this->validateData("writeValues", $Data);
1619 foreach($Data as $Values) {
1649 function drawLineGraph($Data, $DataDescription, $SerieName = "") {
1650 /* Validate the Data and DataDescription array */
1652 $this->validateData("drawLineGraph", $Data);
1662 foreach($Data as $Values) {
1705 function drawXYGraph($Data, $YSerieName, $XSerieName, $PaletteID = 0) {
1711 foreach($Data as $Values) {
1743 /* Validate the Data and DataDescription array */
1898 /* Validate the Data and DataDescription array */
2057 function drawFilledLineGraph($Data, $DataDescription, $Alpha = 100, $AroundZero = FALSE) {
2060 /* Validate the Data and DataDescription array */
2062 $this->validateData("drawFilledLineGraph", $Data);
2084 foreach(array_keys($Data) as $Key) {
2085 $Value = $Data [$Key] [$ColName];
2090 $this->addToImageMap($XPos - 3, $YPos - 3, $XPos + 3, $YPos + 3, $DataDescription->description[$ColName], $Data [$Key] [$ColName].$DataDescription->getYUnit(), "FLine");
2149 $this->drawLineGraph($Data, $DataDescription, $ColName);
2156 function drawOverlayBarGraph($Data, $DataDescription, $Alpha = 50) {
2157 /* Validate the Data and DataDescription array */
2159 $this->validateData("drawOverlayBarGraph", $Data);
2170 foreach(array_keys($Data) as $Key) {
2171 if(isset ($Data [$Key] [$ColName])) {
2172 $Value = $Data [$Key] [$ColName];
2200 $this->addToImageMap($X1, min($Y1, $Y2), $X2, max($Y1, $Y2), $DataDescription->description[$ColName], $Data [$Key] [$ColName].$DataDescription->getYUnit(), "oBar");
2228 function drawBarGraph($Data, $DataDescription, $Alpha = 100) {
2229 /* Validate the Data and DataDescription array */
2231 $this->validateData("drawBarGraph", $Data);
2248 foreach(array_keys($Data) as $Key) {
2249 if(isset ($Data [$Key] [$ColName])) {
2250 if(is_numeric($Data [$Key] [$ColName])) {
2251 $Value = $Data [$Key] [$ColName];
2256 $this->addToImageMap($XPos + 1, min($YZero, $YPos), $XPos + $SeriesWidth - 1, max($YZero, $YPos), $DataDescription->description[$ColName], $Data [$Key] [$ColName].$DataDescription->getYUnit(), "Bar");
2291 function drawStackedBarGraph($Data, $DataDescription, $Alpha = 50, $Contiguous = FALSE) {
2292 /* Validate the Data and DataDescription array */
2294 $this->validateData("drawBarGraph", $Data);
2312 foreach(array_keys($Data) as $Key) {
2313 if(isset ($Data [$Key] [$ColName])) {
2314 if(is_numeric($Data [$Key] [$ColName])) {
2315 $Value = $Data [$Key] [$ColName];
2329 $this->addToImageMap($XPos + 1, min($YBottom, $YPos), $XPos + $SeriesWidth - 1, max($YBottom, $YPos), $DataDescription->description[$ColName], $Data [$Key] [$ColName].$DataDescription->getYUnit(), "sBar");
2352 function drawLimitsGraph($Data, $DataDescription, Color $color = null) {
2357 /* Validate the Data and DataDescription array */
2359 $this->validateData("drawLimitsGraph", $Data);
2367 foreach(array_keys($Data) as $Key) {
2368 $Min = $Data [$Key] [$DataDescription->values[0]];
2369 $Max = $Data [$Key] [$DataDescription->values[0]];
2374 if(isset ($Data [$Key] [$ColName])) {
2375 if($Data [$Key] [$ColName] > $Max && is_numeric($Data [$Key] [$ColName])) {
2376 $Max = $Data [$Key] [$ColName];
2380 if(isset ($Data [$Key] [$ColName]) && is_numeric($Data [$Key] [$ColName])) {
2381 if($Data [$Key] [$ColName] < $Min) {
2382 $Min = $Data [$Key] [$ColName];
2451 function drawRadarAxis($Data, $DataDescription, $Mosaic = TRUE, $BorderOffset = 10, Color $colorA = null, Color $colorS = null, $MaxValue = -1) {
2460 /* Validate the Data and DataDescription array */
2462 $this->validateData("drawRadarAxis", $Data);
2465 $Points = count($Data);
2473 foreach(array_keys($Data) as $Key) {
2474 if(isset ($Data [$Key] [$ColName]))
2475 if($Data [$Key] [$ColName] > $MaxValue) {
2476 $MaxValue = $Data [$Key] [$ColName];
2567 if(isset ($Data [$i] [$DataDescription->getPosition()])) {
2568 $Label = $Data [$i] [$DataDescription->getPosition()];
2650 private function calculateMaxValue($Data, $DataDescription) {
2653 foreach(array_keys($Data) as $Key) {
2654 if(isset ($Data [$Key] [$ColName]))
2655 if($Data [$Key] [$ColName] > $MaxValue && is_numeric($Data[$Key][$ColName])) {
2656 $MaxValue = $Data [$Key] [$ColName];
2666 function drawRadar($Data, $DataDescription, $BorderOffset = 10, $MaxValue = -1) {
2667 /* Validate the Data and DataDescription array */
2669 $this->validateData("drawRadar", $Data);
2671 $Points = count($Data);
2678 $MaxValue = $this->calculateMaxValue($Data, $DataDescription);
2688 foreach(array_keys($Data) as $Key) {
2689 if(isset ($Data [$Key] [$ColName])) {
2690 $Value = $Data [$Key] [$ColName];
2735 function drawFilledRadar($Data, $DataDescription, $Alpha = 50, $BorderOffset = 10, $MaxValue = -1) {
2736 /* Validate the Data and DataDescription array */
2738 $this->validateData("drawFilledRadar", $Data);
2740 $Points = count($Data);
2747 $MaxValue = $this->calculateMaxValue($Data, $DataDescription);
2757 foreach(array_keys($Data) as $Key) {
2758 if(isset ($Data [$Key] [$ColName])) {
2759 $Value = $Data [$Key] [$ColName];
3031 protected function validateData($FunctionName, $Data) {
3034 foreach($Data as $key => $Values) {