Table of Contents
Dokuwiki Plugin: Format JpGraph
This is a plugin to use the PHP application JpGraph as a Dokuwiki plugin.
Graph Function
≡
1)
Graph Data Series
- Put the plot type and other keywords after the last column.
- LinePlot($yArray,[$xArray])
- BarPlot($yArray,[$xArray])
- ErrorPlot($yArray) [Two values for each x-value]
- StockPlot($yArray) [Four values for each x-value: open,close,min,max]
- BoxPlot($yArray) [Five values for each x-value: open,close,min,max,median]
- ScatterPlot($yArray,$xArray)
- FieldPlot($yArray,$xArray,$angleArray) [angle in degrees]
- You can put the data table into a footnote of the graph.
Data in rows:
Data in columns:
2)
| Graph Title | ||||||
|---|---|---|---|---|---|---|
| Y-Axis Title (units) | ||||||
| X-Axis Title | 1 | 2 | 3 | 4 | 5 | |
| Legend 1 | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | |
| Legend 2 | 0.5 | 0.4 | 0.3 | 0.5 | 0.6 | |
| Legend 3 | 1.5 | 1.4 | 1.3 | 1.5 | 1.6 | |
3)
| Graph Title | |||||
|---|---|---|---|---|---|
| Y-Axis Title (units) | |||||
| X-Axis Title | Legend 1 | Legend 2 | |||
| 1 | 0.5 | .2 | |||
| 2 | 0.4 | .3 | |||
| 3 | .3 | .4 | |||
| 4 | .5 | .5 | |||
| 5 | .6 | .6 | |||
You are here: Dokuwiki Introduction » Web Development » Dokuwiki Plugin: Format JpGraph



≡
Discussion