Skip to content
Snippets Groups Projects
Unverified Commit 73159671 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

statistics: remove unused method

parent 66897bee
No related branches found
No related tags found
No related merge requests found
......@@ -8,15 +8,23 @@
*/
class sspmod_statistics_Graph_GoogleCharts
{
private $x, $y;
/**
* @var integer
*/
private $x;
/**
* @var integer
*/
private $y;
/**
* Constructor.
*
* Takes dimension of graph as parameters. X and Y.
*
* @param $x X dimension. Default 800.
* @param $y Y dimension. Default 350.
* @param integer $x X dimension. Default 800.
* @param integer $y Y dimension. Default 350.
*/
public function __construct($x = 800, $y = 350)
{
......@@ -58,24 +66,6 @@ class sspmod_statistics_Graph_GoogleCharts
return($chardata);
}
/**
* Return colors between multiple graphs...
*/
private function getFillArea($datasets)
{
if (count($datasets) < 2) {
return '';
}
$colors = array('eeeeee', 'cccccc', 'aaaaaa', '99eecc');
$num = count($datasets) ;
$colstr = array();
for ($i = 0; $i < $num; $i++) {
$colstr[] = 'b' . ',' . $colors[$i] . ',' . ($i) . ',' . ($i+1) . ',0';
}
return '&chm=' . join('|', $colstr);
}
/**
* Generate a Google Charts URL which points to a generated image.
* More documentation on Google Charts here:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment