Help:Extension/CreateGraph

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
Line 39: Line 39:
 
  <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>
 +
<li>edit graph.inc
 +
<pre>$jpgraph = "path to jpgraph";</pre></li>
 
</ol>
 
</ol>
  
 
== Function ==
 
== Function ==
 
# [[Doc:Extensions#.7B.7B.23graph:type.7Csize.3D.5BWidth.5Dx.5BHheight.5D.3Btitle.3D.5Btitle.5D.3Blegend.3D.5BLeft.5Dx.5BTop.5D.3Blabel.3D.5Blabel1.5D.2C.5Blabel2.5D.2C....3B.5Bdata1.5D.3D.5Bn1-1.5D.2C.5Bn1-2.5D.2C....3B.5Bdata2.5D.3D.5Bn2-1.5D.2C.5Bn2-2.5D.2C....3B....7D.7D|graph]]
 
# [[Doc:Extensions#.7B.7B.23graph:type.7Csize.3D.5BWidth.5Dx.5BHheight.5D.3Btitle.3D.5Btitle.5D.3Blegend.3D.5BLeft.5Dx.5BTop.5D.3Blabel.3D.5Blabel1.5D.2C.5Blabel2.5D.2C....3B.5Bdata1.5D.3D.5Bn1-1.5D.2C.5Bn1-2.5D.2C....3B.5Bdata2.5D.3D.5Bn2-1.5D.2C.5Bn2-2.5D.2C....3B....7D.7D|graph]]

Revision as of 11:37, 18 September 2008

Extension Information
Implementation
Description
Author(s)K, Suwa
Version0.1
MediaWiki1.11.1
License
Hooks used
Token type

Contents


jpgraphを使用して、グラフを表示するextensionです。

Requirements

jpgraph

Download

versionsourcesize
0.1(September 11,2008)CreateGraph.phps


versionsourcesize
0.1(September 11,2008)graph.phps


versionsourcesize
0.1(September 11,2008)graph_inc.phps

Installtion

  1. Download CreateGraph.phps and rename to CreateGraph.php.
  2. Put in extensions/ directory.
  3. Download graph.phps and graph_inc.phps, rename to graph.php and graph.inc.
  4. Put in any(but, Under DocumentRoot) directory. Two files puts same directory.
  5. Insert follow line to LocalSettings.php
    require_once( "$IP/extensions/CreateGraph.php" );
    $egScriptPath = "path to directory which in graph.php from DocumentRoot";
  6. edit graph.inc
    $jpgraph = "path to jpgraph";

Function

  1. graph
Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox