diff --git a/library/Scores/Finance/Ratios/Graph.php b/library/Scores/Finance/Ratios/Graph.php index 49a5fc38f..c7bb153b1 100644 --- a/library/Scores/Finance/Ratios/Graph.php +++ b/library/Scores/Finance/Ratios/Graph.php @@ -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");