Modification graphique

This commit is contained in:
Michael RICOIS 2015-07-21 09:34:10 +00:00
parent 6fc8a8f263
commit 2895ef2238

View File

@ -181,13 +181,13 @@ class Scores_Finance_Ratios_Graph
$i=-100; while($i>100){
$labelsY[] = $i;
}
$c = new XYChart(350, 250);
$c->setPlotArea(70, 10, 280, 200);
$c = new XYChart(380, 250);
$c->setPlotArea(65, 10, 280, 200);
$c->yAxis->setTitle($data['unite']);
$c->xAxis->setTitle("Années");
$c->xAxis->setWidth(2);
$c->yAxis->setWidth(2);
$legendObj = $c->addLegend(50, 10, false, "times.ttf", 9);
$legendObj = $c->addLegend(65, 10, false, "times.ttf", 9);
$legendObj->setBackground(Transparent);
$c->addLineLayer($dataX1, 0x0000ff, "Entreprise");
$c->addLineLayer($dataX2, 0x008C00, "Secteur");