Changeset 105 for trunk/client/modules/Elezioni/grafici/barre.php
- Timestamp:
- May 29, 2011, 7:05:03 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/grafici/barre.php
r64 r105 41 41 $right = 40; 42 42 $graph->Set90AndMargin($left,$right,$top,$bottom); 43 #if(isset($logo)) $graph->SetBackgroundImage("../images/".$logo.".png",BGIMG_COPY); 44 #else 45 //$graph->SetBackgroundImage("../images/vuoto.jpg",BGIMG_COPY); 46 // Nice shadow 43 //$graph->SetBackgroundImage("../images/$logo",BGIMG_COPY); 44 47 45 $graph->SetShadow(); 48 $graph->SetBackgroundGradient('white','yellow',GRAD_HOR,BGRAD_MARGIN); 46 $graph->SetBackgroundGradient('yellow','white',GRAD_HOR,BGRAD_MARGIN); 47 //$graph->SetBackgroundImage("../images/$logo",BGIMG_COPY); 49 48 // Setup title 50 49 $graph->title->Set("$titolo"); … … 118 117 // Now create a bar pot 119 118 $bplot = new BarPlot($datay); 120 $bplot->SetFillColor(" orange");119 $bplot->SetFillColor("red"); 121 120 $bplot->SetShadow(); 122 121 … … 126 125 // We want to display the value of each bar at the top 127 126 $bplot->value->Show(); 128 $bplot->value->SetFont(CURFONT1,FS_BOLD,1 2);127 $bplot->value->SetFont(CURFONT1,FS_BOLD,14); 129 128 $bplot->value->SetAlign('left','center'); 130 $bplot->value->SetColor(" black","darkred");129 $bplot->value->SetColor("red","yellow"); 131 130 $bplot->value->SetFormat("%.2f %%"); # %"); 132 131
Note:
See TracChangeset
for help on using the changeset viewer.