Bonjour,

j ai un controller qui génère un graph linéaire avec ez components, mais je n arrive pas a le renvoyer sur la vue dans le framework directement, il est bien généré dans une balise <SVG> mais endehors du framework quand je fais $this->disableRendering(); et $graph->renderToOutput($width, $height);
voila mon controller:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
class StatsController extends Oft_Controller_Action
{
    public function indexAction (){
 
        //$this->disableRendering();
 
        $dateInBetween = array();
        $SmsSum = array();
        $smsSumGraph = array();
 
 
        $queryparse = oci_parse($conn, $query);
        oci_execute($queryparse);
 
        while ($row_date = oci_fetch_array($queryparse,
                OCI_ASSOC+OCI_RETURN_NULLS))
        {
            $smsSumGraph [$row_date['DATETO']]= $row_date['SMSSUM'];
        }
 
        $graph = new ezcGraphLineChart();
 
        $graph->data['SMSSUM'] = new ezcGraphArrayDataSet($smsSumGraph);
 
        $graph->rendeToOutput(500, 500);
         $graph->renderer;   
    }
quesqui me manque pour avoir mes graphs dans la page web du framework?