/[drupal]/contributions/modules/graphstat/graphstat_render.inc
ViewVC logotype

Diff of /contributions/modules/graphstat/graphstat_render.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.1, Sun Jan 25 21:08:34 2009 UTC revision 1.1.2.2, Sun Jan 25 22:13:45 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: graphstat_render.inc,v 1.13.2.1 2009/01/25 14:32:28 profix898 Exp $  // $Id: graphstat_render.inc,v 1.1.2.1 2009/01/25 21:08:34 profix898 Exp $
3    
4  function graphstat_render_graph($group, $key) {  function graphstat_render_graph($group, $key) {
5    global $user;    global $user;
# Line 83  function graphstat_graphstat_renderer($g Line 83  function graphstat_graphstat_renderer($g
83    $plot->SetXTickLabelPos('none');    $plot->SetXTickLabelPos('none');
84    $plot->SetYTitle(isset($graph['#ylabel']) ? $graph['#ylabel'] : '');    $plot->SetYTitle(isset($graph['#ylabel']) ? $graph['#ylabel'] : '');
85    $plot->SetXLabelAngle(90);    $plot->SetXLabelAngle(90);
86    if (isset($graph['#legend'])) {    if (isset($data['#legend'])) {
87        $plot->SetLegend($data['#legend']);
88        unset($data['#legend']);
89      }
90      else if (isset($graph['#legend'])) {
91      $plot->SetLegend($graph['#legend']);      $plot->SetLegend($graph['#legend']);
92    }    }
93    // Push graph data into the plot renderer    // Push graph data into the plot renderer

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

  ViewVC Help
Powered by ViewVC 1.1.2