示例#1
0
        $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();
    }
}
error_reporting(0);
/**
 * Includes
 */
global $objDatabase, $objInit, $_ARRAYLANG, $adminPage;
\Env::get('ClassLoader')->loadFile(dirname(__FILE__) . '/../../core/Core/init.php');
$cx = init('minimal');
\Env::get('ClassLoader')->loadFile($cx->getCodeBaseLibraryPath() . '/ykcee/ykcee.php');
$objDatabase = $cx->getDb()->getAdoDb();
$adminPage = true;
$objInit = new \InitCMS($mode = "backend");
$sessionObj = \cmsSession::getInstance();
$_SESSION->cmsSessionStatusUpdate("backend");
\Permission::checkAccess(19, 'static');
$objInit->_initBackendLanguage();
$objInit->getUserFrontendLangId();
$_ARRAYLANG = $objInit->loadLanguageData('Stats');
new \Cx\Core_Modules\Stats\Controller\MakeGraph();