Changeset 1439


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

legende over sur graphes, laborieeux sur multigraphes donc retiré

Location:
cpc/trunk/project
Files:
4 added
10 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/config/routing.yml

    r1436 r1439  
    455455  url: /:slug/graphes/:time
    456456  param: {module: parlementaire, action: plot}
     457parlementaire_plot_graph:
     458  url: /:slug/graphes/:time/:type
     459  param: {module: plot, action: generatePlotParlementaire}
    457460preuve_presence_seance:
    458461  url: /:slug/seance/:seance
  • cpc/trunk/project/apps/frontend/modules/parlementaire/config/view.yml

    r828 r1439  
    11listCircoSuccess:
    22   javascripts: [jquery.maphilight.min.js]
    3 
     3showSuccess:
     4   javascripts: [overlib.js, pMap.js]
     5plotSuccess:
     6   javascripts: [overlib.js, pMap.js]
  • cpc/trunk/project/apps/frontend/modules/parlementaire/templates/plotSuccess.php

    r1301 r1439  
    2323</p></div>
    2424
    25 <?php echo include_component('plot', 'parlementaire', array('parlementaire' => $parlementaire, 'options' => array('plot' => 'all', 'fonctions' => 'on', 'questions' => 'on', 'session' => $session))); ?>
     25<?php echo include_component('plot', 'parlementaire', array('parlementaire' => $parlementaire, 'options' => array('plot' => 'all', 'questions' => 'true', 'session' => $session))); ?>
    2626  <div class="explications" id="explications">
    2727    <h2>Explications :</h2>
  • cpc/trunk/project/apps/frontend/modules/parlementaire/templates/showSuccess.php

    r1424 r1439  
    1111  </div>
    1212  <div class="graph_depute">
    13       <?php echo include_component('plot', 'parlementaire', array('parlementaire' => $parlementaire, 'options' => array('plot' => 'total', 'questions' => 'on', 'link' => 'on'))); ?>
     13      <?php echo include_component('plot', 'parlementaire', array('parlementaire' => $parlementaire, 'options' => array('plot' => 'total', 'questions' => 'true', 'link' => 'true'))); ?>
    1414  </div>
    1515  <div class="barre_activite">
  • cpc/trunk/project/apps/frontend/modules/plot/actions/components.class.php

    r1002 r1439  
    44{
    55  public function executeParlementaire() {
     6  }
     7 
     8  public function executeGetParlData() {
    69    static $seuil_invective = 20;
     10    $this->data = array();
    711    if (!isset($this->options)) $this->options = array();
    812    if (!isset($this->options['session'])) $this->options['session'] = 'lastyear';
     
    1014      if (isset($this->parlementaire->fin_mandat) && $this->parlementaire->fin_mandat > $this->parlementaire->debut_mandat) {
    1115        $date = strtotime($this->parlementaire->fin_mandat);
    12         $this->mandat_clos = true;
     16        $this->data['mandat_clos'] = true;
    1317      } else $date = time();
    1418      $annee = date('Y', $date); $sem = date('W', $date);
     
    4145      $n_weeks = ($annee - $annee0)*53 + $sem - $sem0 + 1;
    4246    }
    43     $this->labels = $this->getLabelsSemaines($n_weeks, $annee, $sem);
    44     $this->vacances = $this->getVacances($n_weeks, $annee0, $sem0, strtotime($this->parlementaire->debut_mandat));
     47    $this->data['labels'] = $this->getLabelsSemaines($n_weeks, $annee, $sem);
     48    $this->data['vacances'] = $this->getVacances($n_weeks, $annee0, $sem0, strtotime($this->parlementaire->debut_mandat));
    4549
    4650    $query = Doctrine_Query::create()
     
    5559    $presences = $query->fetchArray();
    5660
    57     $this->n_presences = array('commission' => array_fill(1, $n_weeks, 0),
     61    $this->data['n_presences'] = array('commission' => array_fill(1, $n_weeks, 0),
    5862                               'hemicycle' => array_fill(1, $n_weeks, 0));
    5963    foreach ($presences as $presence) {
    6064      $n = ($presence['Seance']['annee'] - $annee0)*53 + $presence['Seance']['numero_semaine'] - $sem0 + 1;
    61       if ($n <= $n_weeks) $this->n_presences[$presence['Seance']['type']][$n] += $presence['nombre'];
     65      if ($n <= $n_weeks) $this->data['n_presences'][$presence['Seance']['type']][$n] += $presence['nombre'];
    6266    }
    6367    unset($presences);
     
    7579    $participations = $query2->fetchArray();
    7680
    77     $this->n_participations = array('commission' => array_fill(1, $n_weeks, 0),
     81    $this->data['n_participations'] = array('commission' => array_fill(1, $n_weeks, 0),
    7882                                    'hemicycle' => array_fill(1, $n_weeks, 0));
    79     $this->n_mots = array('commission' => array_fill(1, $n_weeks, 0),
     83    $this->data['n_mots'] = array('commission' => array_fill(1, $n_weeks, 0),
    8084                          'hemicycle' => array_fill(1, $n_weeks, 0));
    81     $this->fonctions = array('commission' => 0, 'hemicycle' => 0);
    8285    foreach ($participations as $participation) {
    8386      $n = ($participation['Seance']['annee'] - $annee0)*53 + $participation['Seance']['numero_semaine'] - $sem0 + 1;
    8487      if ($n <= $n_weeks) {
    85         $this->n_participations[$participation['Seance']['type']][$n] += $participation['nombre'];
    86         $this->n_mots[$participation['Seance']['type']][$n] += $participation['mots']/10000;
    87         if ($participation['fonction'] != "") $this->fonctions[$participation['Seance']['type']] += $participation['nombre'];
     88        $this->data['n_participations'][$participation['Seance']['type']][$n] += $participation['nombre'];
     89        $this->data['n_mots'][$participation['Seance']['type']][$n] += $participation['mots']/10000;
    8890      }
    8991    }
    9092    unset($participations);
    9193
    92     if (isset($this->options['questions'])) {
    93       $query3 = Doctrine_Query::create()
    94         ->select('count(distinct s.id) as nombre, i.id, s.annee, s.numero_semaine')
    95         ->from('Intervention i')
    96         ->where('i.parlementaire_id = ?', $this->parlementaire->id)
    97         ->andWhere('i.type = ?', 'question')
    98         ->andWhere('i.fonction NOT LIKE ?', 'président%')
    99         ->andWhere('i.nb_mots > ?', 2*$seuil_invective)
    100         ->leftJoin('i.Seance s');
    101       if ($this->options['session'] == 'lastyear')
    102         $query3->andWhere('s.date > ?', $date_debut);
    103       else $query3->andWhere('s.session = ?', $this->options['session']);
    104       $query3->groupBy('s.annee, s.numero_semaine');
    105       $questionsorales = $query3->fetchArray();
    106 
    107       $this->n_questions = array_fill(1, $n_weeks, 0);
    108       foreach ($questionsorales as $question) {
    109         $n = ($question['Seance']['annee'] - $annee0)*53 + $question['Seance']['numero_semaine'] - $sem0 + 1;
    110         if ($n <= $n_weeks) {
    111           if ($this->n_questions[$n] == 0)
    112             $this->n_questions[$n] -= 0.15;
    113           $this->n_questions[$n] += $question['nombre'];
    114         }
    115       }
    116       unset($questionsorales);
    117     }
     94    $query3 = Doctrine_Query::create()
     95      ->select('count(distinct s.id) as nombre, i.id, s.annee, s.numero_semaine')
     96      ->from('Intervention i')
     97      ->where('i.parlementaire_id = ?', $this->parlementaire->id)
     98      ->andWhere('i.type = ?', 'question')
     99      ->andWhere('i.fonction NOT LIKE ?', 'président%')
     100      ->andWhere('i.nb_mots > ?', 2*$seuil_invective)
     101      ->leftJoin('i.Seance s');
     102    if ($this->options['session'] == 'lastyear')
     103      $query3->andWhere('s.date > ?', $date_debut);
     104    else $query3->andWhere('s.session = ?', $this->options['session']);
     105    $query3->groupBy('s.annee, s.numero_semaine');
     106    $questionsorales = $query3->fetchArray();
     107
     108    $this->data['n_questions'] = array_fill(1, $n_weeks, 0);
     109    foreach ($questionsorales as $question) {
     110      $n = ($question['Seance']['annee'] - $annee0)*53 + $question['Seance']['numero_semaine'] - $sem0 + 1;
     111      if ($n <= $n_weeks) {
     112        if ($this->data['n_questions'][$n] == 0)
     113          $this->data['n_questions'][$n] -= 0.15;
     114        $this->data['n_questions'][$n] += $question['nombre'];
     115      }
     116    }
     117    unset($questionsorales);
    118118  }
    119119
  • cpc/trunk/project/apps/frontend/modules/plot/templates/_parlementaire.php

    r915 r1439  
    1 <?php
    2 $plotarray = array('parlementaire' => $parlementaire, 'labels' => $labels, 'vacances' => $vacances, 'time' => 'lastyear');
    3 if (isset($mandat_clos)) $plotarray = array_merge($plotarray, array('mandat_clos' => true));
     1<div id="overDiv"></div>
     2<?php $plotarray = array('parlementaire' => $parlementaire, 'time' => 'lastyear', 'questions' => 'false', 'link' => 'false');
    43if (isset($options['session'])) $plotarray['time'] = $options['session'];
    5 if (isset($options['questions'])) $plotarray = array_merge($plotarray, array('n_questions' => $n_questions));
    6 if (isset($options['link'])) $plotarray = array_merge($plotarray, array('link' => $options['link']));
    7 //if (isset($options['fonctions'])) $plotarray = array_merge($plotarray, array('fonctions' => $fonctions));
     4if (isset($options['questions'])) $plotarray['questions'] = $options['questions'];
     5if (isset($options['link'])) $plotarray['link'] = $options['link'];
    86
    9 $n = count($labels);
    10 $presences = array_fill(1, $n, 0);
    11 $participations = array_fill(1, $n, 0);
    12 $mots = array_fill(1, $n, 0);
    137if ($options['plot'] == 'all' || $options['plot'] == 'total') {
    148  $plotarray = array_merge($plotarray, array('type' => 'total'));
    15   for ($i = 1; $i <= $n; $i++) {
    16     $presences[$i] = $n_presences['hemicycle'][$i] + $n_presences['commission'][$i];
    17     $participations[$i] = $n_participations['hemicycle'][$i] + $n_participations['commission'][$i];
    18     $mots[$i] = $n_mots['hemicycle'][$i] + $n_mots['commission'][$i];
    19   }
    20   $plotarray = array_merge($plotarray, array('participations' => $participations, 'presences' => $presences, 'mots' => $mots));
    219  echo include_partial('plot/plotParlementaire', $plotarray);
    2210}
    2311if ($options['plot'] == 'all' || $options['plot'] == 'hemicycle') {
    24   if (!isset($plotarray['type'])) {
     12  if (!isset($plotarray['type']))
    2513    $plotarray = array_merge($plotarray, array('type' => 'hemicycle'));
    26     $plotarray = array_merge($plotarray, array('participations' => $n_participations['hemicycle'], 'presences' => $n_presences['hemicycle'], 'mots' => $n_mots['hemicycle']));
    27   } else {
    28     $plotarray['type'] = 'hemicycle';
    29     $plotarray['participations'] = $n_participations['hemicycle'];
    30     $plotarray['presences'] = $n_presences['hemicycle'];
    31     $plotarray['mots'] = $n_mots['hemicycle'];
    32   }
     14  else $plotarray['type'] = 'hemicycle';
    3315  echo include_partial('plot/plotParlementaire', $plotarray);
    3416}
    3517if ($options['plot'] == 'all' || $options['plot'] == 'commission') {
    36   if (!isset($plotarray['type'])) {
     18  if (!isset($plotarray['type']))
    3719    $plotarray = array_merge($plotarray, array('type' => 'commission'));
    38     $plotarray = array_merge($plotarray, array('participations' => $n_participations['commission'], 'presences' => $n_presences['commission'], 'mots' => $n_mots['commission']));
    39   } else {
    40     $plotarray['type'] = 'commission';
    41     $plotarray['participations'] = $n_participations['commission'];
    42     $plotarray['presences'] = $n_presences['commission'];
    43     $plotarray['mots'] = $n_mots['commission'];
    44   }
    45   if (!isset($plotarray['type'])) $plotarray = array_merge($plotarray, array('type' => 'commission'));
    4620  else $plotarray['type'] = 'commission';
    47   $plotarray = array_merge($plotarray, array('participations' => $n_participations['commission'], 'presences' => $n_presences['commission'], 'mots' => $n_mots['commission']));
    4821  echo include_partial('plot/plotParlementaire', $plotarray);
    4922} ?>
  • cpc/trunk/project/apps/frontend/modules/plot/templates/_plotParlementaire.php

    r1299 r1439  
    11<?php
    2 $DataSet = new xsPData();
    3 $DataSet->AddPoint($labels, "Serie1");
    4 $DataSet->AddPoint($presences, "Serie2");
    5 $DataSet->AddPoint($participations, "Serie3");
    6 $DataSet->AddPoint($mots, "Serie4");
    7 $DataSet->AddSerie("Serie2");
    8 $DataSet->AddSerie("Serie3");
    9 $DataSet->AddSerie("Serie4");
    10 $DataSet->SetAbsciseLabelSerie("Serie1");
    11 $DataSet->SetYAxisName("Séances par semaine");
    12 
    13 $DataSetBordure = new xsPData();
    14 $DataSetBordure->AddPoint($labels, "Serie1");
    15 $DataSetBordure->AddPoint($presences, "Serie2");
    16 $DataSetBordure->AddPoint(array_fill(1, count($labels), 0), "Serie5");
    17 $DataSetBordure->AddSerie("Serie2");
    18 $DataSetBordure->AddSerie("Serie5");
    19 $DataSetBordure->SetAbsciseLabelSerie("Serie1");
    20 
    21 $DataSet2 = new xsPData();
    22 $DataSet2->AddPoint($labels, "Serie1");
    23 $DataSet2->AddPoint($vacances, "Serie6");
    24 $DataSet2->AddSerie("Serie6");
    25 $DataSet2->SetAbsciseLabelSerie("Serie1");
    26 
    27 if (isset($n_questions) && $type != 'commission') {
    28   $questions = 1;
    29   $DataSet3 = new xsPData();
    30   $DataSet3->AddPoint($labels, "Serie1");
    31   $DataSet3->AddPoint($n_questions, "Serie7");
    32   $DataSet3->AddSerie("Serie7");
    33   $DataSet3->SetAbsciseLabelSerie("Serie1");
    34   $Data3 = $DataSet3->GetData();
    35   $DataDescr3 = $DataSet3->GetDataDescription();
    36 } else $questions = 0;
    37 
    38 $Data = $DataSet->GetData();
    39 $DataDescr = $DataSet->GetDataDescription();
    40 $DataBordure = $DataSetBordure->GetData();
    41 $DataDescrBordure = $DataSetBordure->GetDataDescription();
    42 $Data2 = $DataSet2->GetData();
    43 $DataDescr2 = $DataSet2->GetDataDescription();
    44 
    45 if (isset($link)) {
    46   $font = 9;
    47   $ticks = 2;
    48   $scale = 14;
    49   $size = 150;
    50 } else {
    51   $font = 12;
    52   $ticks = 1;
    53   if ($type =='total') {
    54     $scale = 14;
    55     $size = 300;
    56   } else if ($type == 'commission') {
    57     $scale = 7;
    58     $size = 185;  // 70+$scale/$scaletotal*($sizetotal-70)
    59   } else if ($type == 'hemicycle') {
    60     $scale = 12;
    61     $size = 267;
    62   }
    63 }
    64 
    65 $Test = new xsPChart(800,$size);
    66 $Test->setGraphArea(25+3*$font,3*$font,780,$size-10-2*$font);
    67 $Test->drawFilledRoundedRectangle(7,7,793,$size-7,5,240,240,240);
    68 $Test->drawRoundedRectangle(5,5,795,$size - 5,5,230,230,230);
    69 $Test->drawGraphArea(230,230,230,FALSE);
    70 $Test->setFixedScale(0,$scale,$scale/$ticks);
    71 $Test->xsSetFontProperties("tahoma.ttf",$font);
    72 $Test->drawScale($Data,$DataDescr,SCALE_NORMAL,50,50,50,TRUE,0,0,FALSE,1,TRUE);
    73 $Test->drawGrid(0,TRUE,0,0,0,100);
    74 $Test->setColorPalette(0,50,50,50);
    75 $Test->drawOverlayBarGraph($Data2,$DataDescr2,30,100);
    76 $fonction = 0;
    77 if (isset($fonctions)) {
    78   $total = array_sum($presences);
    79   if ($total != 0) {
    80     if ($type == 'total') {
    81       $totalfonctions = $fonctions['hemicycle']+$fonctions['commission'];
    82     } else {
    83       $totalfonctions = $fonctions[$type];
    84     }
    85     $fonction = (int)(4*$totalfonctions/$total);
    86   }
    87 }
    88 $Test->setColorPalette(0,255,35*$fonction,0);
    89 $Test->setColorPalette(1,255,255,0);
    90 $Test->setColorPalette(2,0,255,0);
    91 $Test->drawFilledLineGraph($Data,$DataDescr,78);
    92 if ($questions == 1) {
    93   $Test->setColorPalette(0,0,0,255);
    94   $Test->drawOverlayBarGraph($Data3,$DataDescr3,85,25);
    95 }
    96 $Test->setColorPalette(0,255,35*$fonction,0);
    97 $Test->setColorPalette(1,0,0,0);
    98 $Test->drawLineGraph($DataBordure,$DataDescrBordure);
    99 $Test->xsSetFontProperties("tahoma.ttf",$font + 3);
    100 $pos_titre = 240;
    101 if ($time == 'lastyear') {
    102   if (isset($mandat_clos)) {
    103     $pos_titre = 210;
    104     $duree = ' sa dernière année de mandat';
    105   } else $duree = 's 12 derniers mois';
     2if ($time === 'lastyear')
    1063  $shortduree = 'annee';
    107 } else {
    108   $duree = " la session ".preg_replace('/^(\d{4})/', '\\1-', $time);
    109   $shortduree = $time;
    110 }
    111 if ($type == 'total') {
    112   $Test->drawTitle($pos_titre,3 + 2*$font,"Participation globale au cours de".$duree." (hémicycle et commissions)",50,50,50,585);
     4else $shortduree = $time;
     5if ($type === 'total')
    1136  $titre = 'globale-'.$shortduree;
    114 } else {
     7else {
    1158  $titre = $type;
    116   if ($type == 'commission') $titre .= 's';
    117   $Test->drawTitle($pos_titre+30,3 + 2*$font,"Participation en ".$titre." au cours de".$duree,50,50,50,585);
     9  if ($type === 'commission') $titre .= 's';
    11810  $titre .= '-'.$shortduree;
    11911}
    120 $filename = 'participation-'.$titre.'-'.$parlementaire->slug.isset($link).'.png';
    121 $Test->xsRender($filename);
     12$PictureID = "Map_".rand(1,10000).".map"; ?>
    12213
    123 if (isset($link))
    124   echo link_to(image_tag('tmp/xspchart/'.$filename, 'alt="Participation '.$titre.' de '.$parlementaire->nom.'"'), '@parlementaire_plot?slug='.$parlementaire->slug.'&time=lastyear');
    125 else echo '<div class="par_session">'.image_tag('tmp/xspchart/'.$filename, 'alt="Participation '.$titre.' de '.$parlementaire->nom.'"');
    126 echo "<p><span style='background-color: rgb(255,";
    127 echo 35*$fonction.",0);'>&nbsp;</span> ";
    128 if ($type == 'commission') echo '&nbsp;Présences enregistrées&nbsp;&nbsp;&nbsp;'; else echo '&nbsp;Présences relevées&nbsp;&nbsp;&nbsp;';
     14<?php if ($link === 'true') echo '<a href="'.url_for('@parlementaire_plot?slug='.$parlementaire->slug.'&time=lastyear').'">';
     15else echo '<div class="par_session">'; ?>
     16<img id="graph<?php echo $PictureID; ?>" alt="Participation <?php echo $titre; ?> de <?php echo $parlementaire->nom; ?>" src="<?php echo url_for('@parlementaire_plot_graph?slug='.$parlementaire->slug.'&time='.$time.'&type='.$type.'&questions='.$questions.'&link='.$link.'&mapId='.$PictureID); ?>" OnMouseMove="getMousePosition(event);" OnMouseOut="nd();"/>
     17<?php if ($link === 'true') { ?>
     18<script> LoadImageMap("graph<?php echo $PictureID; ?>", "<?php echo url_for('@parlementaire_plot_graph?slug='.$parlementaire->slug.'&time='.$time.'&type='.$type.'&questions='.$questions.'&link='.$link.'&drawAction=map&mapId='.$PictureID); ?>"); </script>
     19<?php } ?>
     20
     21<?php if ($link === 'true') echo '</a>';
     22echo "<p><span style='background-color: rgb(255,0,0);'>&nbsp;</span> ";
     23if ($type === 'commission') echo '&nbsp;Présences enregistrées&nbsp;&nbsp;&nbsp;';
     24else echo '&nbsp;Présences relevées&nbsp;&nbsp;&nbsp;';
    12925echo "<span style='background-color: rgb(255,200,0);'>&nbsp;</span>&nbsp;Participations&nbsp;&nbsp;&nbsp;";
    13026echo "<span style='background-color: rgb(0,255,0);'>&nbsp;</span>&nbsp;Mots prononcés (x&nbsp;10&nbsp;000)&nbsp;&nbsp;&nbsp;";
    131 if ($questions == 1)
     27if ($questions === 'true' && $type != 'commission')
    13228    echo "<span style='background-color: rgb(0,0,255);'>&nbsp;</span>&nbsp;Questions orales&nbsp;&nbsp;&nbsp;";
    13329echo "<span style='background-color: rgb(150,150,150);'>&nbsp;</span>&nbsp;Vacances parlementaires";
    134 if (isset($link))
     30if ($link === 'true')
    13531  echo "&nbsp;&nbsp;&nbsp;&nbsp;".link_to('Explications', '@parlementaire_plot?slug='.$parlementaire->slug.'&time=lastyear#explications').'</p>';
    136   else echo '</p></div>'
     32else echo '</p>';
     33if ($link != 'true')
     34  echo '</div>';
    13735?>
  • 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      {
  • cpc/trunk/project/plugins/xsPChartPlugin/lib/xsPChart.class.php

    r83 r1439  
    7373    parent::Render(sfConfig::get('sf_web_dir') . sfConfig::get('sf_xspchart_web_tmp_dir') . DIRECTORY_SEPARATOR . $fileName);
    7474  } // xsRender()
    75 } // pChart
     75
     76  /**
     77   *  xsStroke
     78   *
     79   * @author roux
     80   * @version  2010-09-26
     81   */
     82  public function xsStroke()
     83  {
     84   if ( $this->ErrorReporting )
     85    $this->printErrors("GD");
     86
     87   /* Save image map if requested */
     88   if ( $this->BuildMap )
     89    $this->SaveImageMap();
     90   imagepng($this->Picture);
     91  } // xsStroke()
     92
     93}
     94 // pChart
    7695
    7796/**
  • cpc/trunk/project/web/css/xneth/style.css

    r1427 r1439  
    13801380  text-align: center;
    13811381}
     1382#overDiv {
     1383  position:absolute;
     1384  visibility:hidden;
     1385  z-index:1000
     1386}
    13821387.titre_int_et_seance .plot_section, .titre_int_et_seance .plot_seance {
    13831388  padding-right: 300px;
Note: See TracChangeset for help on using the changeset viewer.