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/voti_graf.php

    r2 r105  
    2424$graph->title->Set($titolo);
    2525$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");
    2727$graph->SetBackgroundGradient('white','yellow',GRAD_HOR,BGRAD_MARGIN);
    2828
    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
    4533// black-white
    4634//$graph->AdjBackgroundImage(0.4,0.3,-1);
     
    5038$p1->value->Show();
    5139$p1->SetLegends($legend);
    52 $p1->SetCenter(0.25,0.4);
     40$p1->SetCenter(0.25,0.65);
    5341$graph->Add($p1);
    5442$graph->Stroke();
Note: See TracChangeset for help on using the changeset viewer.