Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 7021 | Rev 7023 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 7021 Rev 7022
Línea 78... Línea 78...
78
        $graph->Stroke($filename);
78
        $graph->Stroke($filename);
79
    }
79
    }
Línea 80... Línea 80...
80
 
80
 
81
    function barChart($label, $values, $title, $filename)
81
    function barChart($label, $values, $title, $filename)
82
    {
-
 
83
        $this->SetLegends($values, '');
82
    {
84
        $graph = new Graph\Graph(700, count($values) * 50, 'auto');
83
        $graph = new Graph\Graph(700, count($values) * 50, 'auto');
85
        $graph->SetScale('textint');
84
        $graph->SetScale('textint');
86
        $graph->clearTheme();
85
        $graph->clearTheme();
87
        $graph->SetShadow();
86
        $graph->SetShadow();
Línea 91... Línea 90...
91
 
90
 
92
        $bplot = new Plot\BarPlot($values);
91
        $bplot = new Plot\BarPlot($values);
93
        $bplot->SetFillColor('orange');
92
        $bplot->SetFillColor('orange');
94
        $bplot->SetWidth(0.5);
93
        $bplot->SetWidth(0.5);
95
        $bplot->SetShadow();
94
        $bplot->SetShadow();
96
        $bplot->SetLegends($datax);
95
        $bplot->SetLegends($values);
Línea 97... Línea 96...
97
        $bplot->SetCenter(0.3);
96
        $bplot->SetCenter(0.3);
98
 
97