Help:Extension/CreateGraph
From Metabolomics.JP
(Difference between revisions)
Line 32: | Line 32: | ||
== Installtion == | == Installtion == | ||
<ol> | <ol> | ||
− | <li>Download CreateGraph.phps and rename to CreateGraph.php.</li> | + | <li>Download CreateGraph.phps and rename it to CreateGraph.php.</li> |
− | <li> | + | <li>Place it in the extensions/ directory.</li> |
− | <li>Download graph.phps and graph_inc.phps, rename to graph.php and graph.inc.</li> | + | <li>Download graph.phps and graph_inc.phps, rename them to graph.php and graph.inc.</li> |
− | <li> | + | <li>Place them in any directory (the same place under DocumentRoot).</li> |
− | <li>Insert follow | + | <li>Insert the follow lines to LocalSettings.php |
<pre>require_once( "$IP/extensions/CreateGraph.php" ); | <pre>require_once( "$IP/extensions/CreateGraph.php" ); | ||
$egScriptPath = "path to directory which in graph.php from DocumentRoot";</pre></li> | $egScriptPath = "path to directory which in graph.php from DocumentRoot";</pre></li> |
Revision as of 17:44, 20 September 2008
Extension Information | |
Implementation | |
Description | |
Author(s) | K, Suwa |
Version | 0.1 |
MediaWiki | 1.11.1 |
License | |
Hooks used | |
Token type | |
Contents |
Extension to display graphs by using jpgraph.
Requirements
Download
version | source | size |
0.1(September 11,2008) | CreateGraph.phps |
version | source | size |
0.1(September 11,2008) | graph.phps |
version | source | size |
0.1(September 11,2008) | graph_inc.phps |
Installtion
- Download CreateGraph.phps and rename it to CreateGraph.php.
- Place it in the extensions/ directory.
- Download graph.phps and graph_inc.phps, rename them to graph.php and graph.inc.
- Place them in any directory (the same place under DocumentRoot).
- Insert the follow lines to LocalSettings.php
require_once( "$IP/extensions/CreateGraph.php" ); $egScriptPath = "path to directory which in graph.php from DocumentRoot";
- edit graph.inc
$jpgraph = "path to jpgraph";