file placeholder creation. Will build on top of these.
This commit is contained in:
15
libraries/chart.lib.php
Normal file
15
libraries/chart.lib.php
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Chart functions used to generate various types
|
||||||
|
* of charts.
|
||||||
|
*
|
||||||
|
* @version $Id$
|
||||||
|
* @package phpMyAdmin
|
||||||
|
*/
|
||||||
|
|
||||||
|
function PMA_chart_pie($data)
|
||||||
|
{
|
||||||
|
return "pie chart placeholder";
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
@@ -34,6 +34,11 @@ require './libraries/server_links.inc.php';
|
|||||||
require './libraries/replication.inc.php';
|
require './libraries/replication.inc.php';
|
||||||
require_once './libraries/replication_gui.lib.php';
|
require_once './libraries/replication_gui.lib.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Chart generation
|
||||||
|
*/
|
||||||
|
require_once './libraries/chart.lib.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Displays the sub-page heading
|
* Displays the sub-page heading
|
||||||
*/
|
*/
|
||||||
@@ -582,6 +587,9 @@ foreach ($used_queries as $name => $value) {
|
|||||||
?>
|
?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<div>
|
||||||
|
<?php echo PMA_chart_pie($used_queries); ?>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="serverstatussection">
|
<div id="serverstatussection">
|
||||||
|
Reference in New Issue
Block a user