Changeset 105 for trunk/client/modules/Elezioni/grafici/voti_graf.php
- Timestamp:
- May 29, 2011, 7:05:03 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/grafici/voti_graf.php
r2 r105 24 24 $graph->title->Set($titolo); 25 25 $graph->title->SetFont(FF_FONT1,FS_BOLD); 26 $graph ->legend->Pos( 0.52,0. 50,"left" ,"center");26 $graph ->legend->Pos( 0.52,0.70,"left" ,"center"); 27 27 $graph->SetBackgroundGradient('white','yellow',GRAD_HOR,BGRAD_MARGIN); 28 28 29 /* 30 $txt =new Text("$cop"); 31 //$txt =new Text("$siteistat"); 32 $txt->Pos( 2,180); 33 $txt->SetColor( "red"); 34 $graph->AddText( $txt); 35 */ 36 if(isset($logo)){ 37 //if (file_exists("modules/Elezioni/images/".$logo.".png")) { 38 // $graph->SetBackgroundImage("../images/".$logo.".png",BGIMG_COPY); 39 } 40 /* 41 else{ 42 else $graph->SetBackgroundImage("../images/vuoto.jpg",BGIMG_COPY); 43 } 44 */ 29 30 //$graph->SetBackgroundImagePos(1, 100); 31 $graph->SetBackgroundImage("../images/$logo",BGIMG_COPY); 32 45 33 // black-white 46 34 //$graph->AdjBackgroundImage(0.4,0.3,-1); … … 50 38 $p1->value->Show(); 51 39 $p1->SetLegends($legend); 52 $p1->SetCenter(0.25,0. 4);40 $p1->SetCenter(0.25,0.65); 53 41 $graph->Add($p1); 54 42 $graph->Stroke();
Note:
See TracChangeset
for help on using the changeset viewer.