Ignore:
Timestamp:
Mar 30, 2021, 11:16:34 PM (3 years ago)
Author:
roby
Message:

ulteriori modifiche per adeguamento a php7
Client: aggiornamento jpgraph

File:
1 edited

Legend:

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

    r284 r346  
    310310    }
    311311
     312
     313    /**
     314     * @override
     315     * Without overriding this method, $this->numpoints does not updated correctly.
     316     */
     317    function Clear() {
     318        $this->isRunningClear = true;
     319        $this->__construct($this->inputValues['aDatay'], $this->inputValues['aDatax']);
     320        $this->isRunningClear = false;
     321    }
     322
    312323    function Stroke($img,$xscale,$yscale) {
    313324
     
    717728        for($i=0; $i < $n; ++$i) {
    718729            list($xm,$ym) = $this->plots[$i]->Min();
    719             $xmin = max($xmin,$xm);
     730            $xmin = min($xmin,$xm);
    720731            $ymin = min($ymin,$ym);
    721732        }
Note: See TracChangeset for help on using the changeset viewer.