Ignore:
Timestamp:
Sep 26, 2010, 9:40:24 PM (10 years ago)
Author:
roux
Message:

legende over sur graphes, laborieeux sur multigraphes donc retiré

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/plugins/xsPChartPlugin/lib/pChart/pChart/pChart.class

    r1425 r1439  
    165165   var $BuildMap         = FALSE;
    166166   var $MapFunction      = NULL;
    167    var $tmpFolder        = "tmp/";
     167   var $tmpFolder        = "/tmp";
    168168   var $MapID            = NULL;
    169169
     
    14071407
    14081408             $X1 = floor($XPos - $XWidth + $this->GArea_X1); $Y1 = floor($YPos+$this->GArea_Y1) + .2;
    1409              $X2 = floor($XPos + $XWidth + $this->GArea_X1);
    1410 // $Y2 = $this->GArea_Y2 - ((0-$this->VMin) * $this->DivisionRatio);
     1409             $X2 = floor($XPos + $XWidth + $this->GArea_X1); $Y2 = $this->GArea_Y2 - ((0-$this->VMin) * $this->DivisionRatio);
    14111410             if ( $X1 <= $this->GArea_X1 ) { $X1 = $this->GArea_X1 + 1; }
    14121411             if ( $X2 >= $this->GArea_X2 ) { $X2 = $this->GArea_X2 - 1; }
     
    28102809    {
    28112810     /* Strip HTML query strings */
    2812      $Values   = $this->tmpFolder.$MapName;
     2811     $Values   = $this->tmpFolder.DIRECTORY_SEPARATOR.$MapName;
    28132812     $Value    = split("\?",$Values);
    28142813     $FileName = $Value[0];
     
    28432842       return(-1);
    28442843      }
    2845 
    2846      $Handle = fopen($this->tmpFolder.$this->MapID, 'w');
     2844     $Handle = fopen($this->tmpFolder.DIRECTORY_SEPARATOR.$this->MapID, 'w');
    28472845     if ( !$Handle )
    28482846      {
Note: See TracChangeset for help on using the changeset viewer.