Ignore:
Timestamp:
May 29, 2011, 7:05:03 PM (13 years ago)
Author:
eol
Message:

Sistemazione elementi grafici e di esportazione dati, stemma sui grafici (var nel config.php $ins_logo=0 per eliminare lo stemma).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/modules/Elezioni/grafici/votanti_graf.php

    r2 r105  
    2323$graph->title->Set($titolo);
    2424$graph->title->SetFont(FF_FONT1,FS_BOLD);
    25 $graph ->legend->Pos( 0.05,0.75,"left" ,"center");
    26 /*
    27 if(isset($logo)){
    28       if (file_exists("../images/".$logo.".png")) {
    29           $graph->SetBackgroundImage("../images/".$logo.".png",BGIMG_COPY);
    30       }else{
    31           else $graph->SetBackgroundImage("../images/vuoto.jpg",BGIMG_COPY);
    32 }
    33 */
    34 // testo
    35 /*
    36 $txt =new Text("$cop");
    37 $txt->SetFont(FF_FONT1,FS_BOLD);
    38 //$txt->Pos(0.5,0.97,'center','bottom');
    39 $txt->SetBox('yellow','black');
    40 $txt->Pos( 2,2,'center');
    41 $txt->SetColor( "black");
     25$graph ->legend->Pos( 0.55,0.75,"left" ,"center");
    4226
    43 $graph->AddText( $txt);
     27$graph->SetBackgroundImage("../images/$logo",BGIMG_COPY);
    4428
    45 */
    46 $graph->SetBackgroundGradient('white','yellow',GRAD_HOR,BGRAD_MARGIN);
     29$graph->SetBackgroundGradient('red','yellow',GRAD_HOR,BGRAD_MARGIN);
    4730
    4831$p1 = new PiePlot($data);
     
    5033$p1->value->Show();
    5134$p1->SetLegends($legend);
    52 $p1->SetCenter(0.4,0.5);
     35$p1->SetCenter(0.45,0.5);
    5336
    5437$graph->Add($p1);
Note: See TracChangeset for help on using the changeset viewer.