Пример #1
0
    echo "</div>";
}
if (getGrafikRecordCount2() > 5) {
    echo "<div class='ikiKolon'>";
    echo "<p style=\"color:#000;font-weight: bold;\">" . $metin[343] . "</p>";
    $sampleData2 = getGrafikValues2(15);
    $labels2 = getGrafikLabels2(15);
    $chart2 = new BAR_GRAPH("vBar");
    $chart2->values = grafikGunNormallestirData($sampleData2, $labels2);
    $chart2->labels = grafikGunNormallestirLabel($sampleData2, $labels2);
    $chart2->showValues = 2;
    $chart2->labelSize = 9;
    $chart2->titleSize = 9;
    $chart2->absValuesSize = 9;
    $chart2->absValuesBorder = "0px";
    echo $chart2->create();
    echo "</div>";
}
?>
                </div>
                <div class="cleared"></div>
              </div>
            </div>
          </div>
        </div>
        <div class="cleared"></div>
        <div class="Footer">
          <div class="Footer-inner">
            <?php 
require "footer.php";
?>
Пример #2
0
$graph->labelFont = "Arial Black, Arial, Helvetica";
$graph->labelSize = 16;
$graph->absValuesColor = "#A0A0A0";
$graph->absValuesBGColor = "";
$graph->absValuesBorder = "1px solid silver";
$graph->absValuesFont = "Verdana, Arial, Helvetica";
$graph->absValuesSize = 14;
$graph->percValuesColor = "#A0A0A0";
$graph->percValuesFont = "Comic Sans MS, Times New Roman";
$graph->percValuesSize = 16;
// Fin de configuración del graficador.
echo "<h3>Comparativa de compañías.</h3>Número de envios exitosos y erroneos respecto a todas las compañías.<br />";
$graph->legend = "Exitosos,Erroneos";
$graph->labels = "Digicel,Telefonica/Movistar,Telecom/Claro,Telemovil/Tigo";
$graph->values = "{$c_Digicel_OK};{$c_Digicel_NO}, {$c_Telefonica_OK};{$c_Telefonica_NO}, {$c_Telecom_OK};{$c_Telecom_NO}, {$c_Tigo_OK};{$c_Tigo_NO}";
echo $graph->create();
echo "<h3>Comparativa de compañías.</h3>Demanda de envio por compañías.<br />";
$graph->labels = "Digicel,Telefonica/Movistar,Telecom/Claro,Telemovil/Tigo";
$graph->legend = "";
$graph->values = $c_Digicel_OK + $c_Digicel_NO . ", " . ($c_Telefonica_OK + $c_Telefonica_NO) . ", " . ($c_Telecom_OK + $c_Telecom_NO) . ", " . ($c_Tigo_OK + $c_Tigo_NO);
echo $graph->create();
echo "<h3>Eficiencia de envio por compañías.</h3>Porcentaje de envios exitosos respecto a total de mensajes por compañia.<br />";
$graph->type = "pBar";
$graph->legend = "";
$graph->showValues = 0;
$graph->barColors = "#E0E0E0,#E0E0E0,#E0E0E0,#E0E0E0";
$graph->labels = "Digicel,Telefonica/Movistar,Telecom/Claro,Telemovil/Tigo";
$graph->values = $c_Digicel_OK . ";" . ($c_Digicel_OK + $c_Digicel_NO) . ", " . $c_Telefonica_OK . ";" . ($c_Telefonica_OK + $c_Telefonica_NO) . ", " . $c_Telecom_OK . ";" . ($c_Telecom_OK + $c_Telecom_NO) . ", " . $c_Tigo_OK . ";" . ($c_Tigo_OK + $c_Tigo_NO);
echo $graph->create();
if ($MiBD_OK) {
    echo "<hr /><h2>Estadisticas de visitas</h2>";
Пример #3
0
function rankGrafik($val, $max)
{
    if (empty($max) or $max == 0) {
        return;
    }
    //	if($val<15) return;
    echo "<p>";
    $graph = new BAR_GRAPH("pBar");
    //	$graph->labels = "Sýra";
    //	$graph->barBGColor = "#ccc";
    $graph->barColors = "img/h_blue.gif";
    $graph->values = "{$val};{$max}";
    $graph->percValuesDecimals = 1;
    $graph->barWidth = 10;
    $graph->barLength = 1;
    $graph->barBorder = "0px groove gray";
    echo $graph->create();
    echo "</p>";
}