1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<?php
$graph_title = _("Graph");
function graphJS() {
global $GRAPH_MARGINS;
global $GRAPH_SELECTION;
?>
zeus_graph = new GRAPH("graph_image_div", "graph_selector_div");
zeus_graph.SetMargins(<?echo $GRAPH_MARGINS['left'] . "," . $GRAPH_MARGINS['top'] . "," . $GRAPH_MARGINS['right'] . "," .$GRAPH_MARGINS['bottom']?>);
zeus_graph.SetAllSizes(<?echo $GRAPH_SELECTION['min_width'] . "," . $GRAPH_SELECTION['min_height']?>);
adei.AttachGraphModule(zeus_graph);
<?
return "zeus_graph";
}
function graphPage() {
/* <div id="graph_selector_div" class="selector">selector1</div>*/
?>
<table width="100%" <?/*height="100%"*/?> cellspacing="0" cellpadding="0"><tr><td>
</td></tr><tr><td>
<div id="graph_image_div">
<img id="graph_image" alt="Loading..."/>
<?/* onMouseDown="zeus_graph.MouseStart(event)" onMouseUp="zeus_graph.MouseDone(event)" onMouseMove="zeus_graph.MouseVisualize(event)" onClick="zeus_graph.MouseStart()"/>*/?>
</div>
</td></tr></table>
<?}?>
|