function _generateGraph() { global $_ARRAYLANG; $cx = \Cx\Core\Core\Controller\Cx::instanciate(); $graph = new \ykcee(); $graph->SetImageSize($this->graphWidth, $this->graphHeight); $graph->SetTitleFont($cx->getCodeBaseLibraryPath() . '/ykcee/VERDANA.TTF'); $graph->SetFont($cx->getCodeBaseLibraryPath() . '/ykcee/VERDANA.TTF'); $graph->SetFileFormat("png"); $graph->SetMaxStringSize($this->graphAxisXMaxStringSize); $graph->SetBackgroundColor($this->graphBackgroundColor); $graph->SetChartType($this->graphChartType); $graph->SetChartBackgroundColor($this->graphChartBackgroundColor); $graph->SetChartBorderColor($this->graphChartBorderColor); $graph->SetChartTitle($this->graphChartTitle); $graph->SetChartTitleSize($this->graphChartTitleSize); $graph->SetChartTitleColor("black"); $graph->SetFontColor("black"); $graph->SetBarColor($this->graphArrBarColor); $graph->SetBarBorderColor($this->graphArrBarBorderColor); $graph->SetLegend($this->graphArrLegendText); $graph->SetLegendPosition(2); $graph->SetLegendBackgroundColor($this->graphLegendBackgroundColor); $graph->SetTitleAxisX($this->graphTitleAxisX); $graph->SetTitleAxisY($this->graphTitleAxisY); $graph->SetAxisFontSize($this->graphAxisFontSize); $graph->SetAxisColor("black"); $graph->SetAxisTitleSize($this->graphAxisTitleFontSize); $graph->SetTickLength(2); $graph->SetTickInterval(5); $graph->SetGridX($this->graphGridX); $graph->SetGridY($this->graphGridY); $graph->SetGridColor($this->graphGridColor); $graph->SetLineThickness(1); $graph->SetPointSize(2); //es werden dringend gerade Zahlen empfohlen $graph->SetPointShape("dots"); $graph->SetShading(0); $graph->SetNoData($_ARRAYLANG['TXT_NO_DATA_AVAILABLE']); $graph->SetDataValues($this->graphArrData); $graph->DrawGraph(); }
function _generateGraph() { global $_ARRAYLANG; $graph = new ykcee(); $graph->SetImageSize($this->graphWidth, $this->graphHeight); $graph->SetTitleFont(ASCMS_LIBRARY_PATH . '/ykcee/VERDANA.TTF'); $graph->SetFont(ASCMS_LIBRARY_PATH . '/ykcee/VERDANA.TTF'); $graph->SetFileFormat('png'); $graph->SetMaxStringSize($this->graphAxisXMaxStringSize); $graph->SetBackgroundColor($this->graphBackgroundColor); $graph->SetChartType($this->graphChartType); $graph->SetChartBackgroundColor($this->graphChartBackgroundColor); $graph->SetChartBorderColor($this->graphChartBorderColor); $graph->SetChartTitle($this->graphChartTitle); $graph->SetChartTitleSize($this->graphChartTitleSize); $graph->SetChartTitleColor('black'); $graph->SetFontColor('black'); $graph->SetBarColor($this->graphArrBarColor); $graph->SetBarBorderColor($this->graphArrBarBorderColor); $graph->SetLegend($this->graphArrLegendText); $graph->SetLegendPosition(2); $graph->SetLegendBackgroundColor($this->graphLegendBackgroundColor); $graph->SetTitleAxisX($this->graphTitleAxisX); $graph->SetTitleAxisY($this->graphTitleAxisY); $graph->SetAxisFontSize($this->graphAxisFontSize); $graph->SetAxisColor('black'); $graph->SetAxisTitleSize($this->graphAxisTitleFontSize); $graph->SetTickLength(2); $graph->SetTickInterval(5); $graph->SetGridX($this->graphGridX); $graph->SetGridY($this->graphGridY); $graph->SetGridColor($this->graphGridColor); $graph->SetLineThickness(1); $graph->SetPointSize(2); //es werden dringend gerade Zahlen empfohlen $graph->SetPointShape('dots'); $graph->SetShading(0); $graph->SetNoData($_ARRAYLANG['TXT_NO_DATA_AVAILABLE']); $graph->SetDataValues($this->graphArrData); $graph->DrawGraph(); }