<?php
/*
+-------------------------------------------------------------------------+
-| Copyright (C) 2004 Juan Luis Francés Jiménez |
+| Copyright (C) 2004 Juan Luis Francés Jiménez |
+| Copyright 2010-2011, Davide Franco |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU General Public License |
$pools = $dbSql->Get_Pools_List();
foreach( $pools as $pool ) {
- array_push( $data, $dbSql->GetPoolsStatistics( $pool ) );
+ array_push( $data, $dbSql->CountVolumesByPool( $pool ) );
}
$graph->SetData( $data, 'pie', 'text-data-single' );