Changeset 1551
- Timestamp:
- Oct 3, 2010, 10:54:06 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/apps/frontend/modules/plot/templates/_groupes.php
r1463 r1551 37 37 $xsize = 390; 38 38 if ($plot == 'total') { 39 $xtitre = 80; $ysize = 3 00; $ylegend = 145; $x0 = 140; $y0 = 112;39 $xtitre = 80; $ysize = 360; $ylegend = 145; $x0 = 140; $y0 = 112; 40 40 $duree = "l'année passée"; 41 41 $shortduree = 'annee'; … … 43 43 $titre = 'du travail parlementaire'; 44 44 } else { 45 $xtitre = 25; $ysize = 190; $ylegend = 50; $x0 = 155; $y0 = 85;45 $xtitre = 25; $ysize = 190; $ylegend = 60; $x0 = 155; $y0 = 85; 46 46 $filename .= '-'.$plot.'.png'; 47 47 $titre = 'par groupe du travail de cette séance'; 48 48 if (preg_match('/section/', $plot)) { 49 49 $xtitre = 28; $xtitre = 38; 50 $titre = 'par groupe du travail sur le dossier';50 $titre = 'par groupe du travail sur ce dossier'; 51 51 } else if (preg_match('/com/', $plot)) { 52 52 if (array_sum($interventions) == 0) { … … 60 60 } 61 61 $Test = new xsPChart($xsize,$ysize); 62 if ($plot != 'total') { $Test->drawFilledRoundedRectangle(7,7,$xsize-7,$ysize-7,5,240,240,240); } 63 if ($plot != 'total') { $Test->drawRoundedRectangle(5,5,$xsize-5,$ysize-5,5,230,230,230); } 62 $Test->drawFilledRoundedRectangle(7,7,$xsize-7,$ysize-7,5,240,240,240); 63 $Test->drawRoundedRectangle(5,5,$xsize-5,$ysize-5,5,230,230,230); 64 64 $Test->setColorPalette(0,200,200,200); 65 65 $Test->setColorPalette(1,30,30,200); … … 86 86 $Test->setColorPalette(4,255,50,190); 87 87 $Test->setColorPalette(5,255,30,30); 88 $Test->drawFilledRoundedRectangle(15,$ylegend-14,72,$ylegend+5,5,255,255,255); 88 89 $Test->drawLegend(15,$ylegend,$DataDescrLegend,255,255,255); 89 90 $Test->xsSetFontProperties("tahoma.ttf",10); 90 $Test->drawTitle(20,$ylegend +13,'Groupes',0,0,0);91 $Test->drawTitle(20,$ylegend,'Groupes',0,0,0); 91 92 92 93 $Test->xsSetFontProperties("tahoma.ttf",12);
Note: See TracChangeset
for help on using the changeset viewer.