Thanks Barry,
But I already tried that. For undefined reasons I had troubles to display accents in all files (php) - even playing with charset in the meta tag. The only way I found was to use the utf8_encode() function (just 2 fields in my database requiring accent...). I might have to modify baaChart class to do the same. The code you gave me display nothing at all (cut and passed).
Here is my code and the link where the title show funny sign...
code :
<?php
//
// UNE ENTREPRISE VERSUS LES AUTRES \ LIGNE \ NB. DE DECES \ POUR LE MOIS COURANT
//
// Elaboration de la légende jours de l'axe dex x
include_once('baa_setLabX.php');
// Elaboration du titre du diagramme
include_once('baa_setTitre.php');
//
// instanciation de la classe
//
include('baaChart.php');
$mygraph = new baaChart(800);
$mygraph->setTitle('Observatoire des décès',setBaaTitre("M",date('m')));
$mygraph->setXLabels($labelX);
$mygraph->addDataSeries('L',LINE_MARK_X,$tableau,"Autres");
$mygraph->addDataSeries('L',LINE_MARK_CIRCLE,$tableau_qui,$login);
$mygraph->setBgColor(255,255,255,1); //Transparent
$mygraph->setXAxis("Jour",1);
$mygraph->setYAxis("Deces",0,10,2,0);
$mygraph->drawGraph();
?>
end of code
Link :
ge-observ.net/dgs/baa_dgs_01.php
(no matter if there is no data..)
Thanks