type |
The type of chart to create. One of "area", "bar", "line", "scatter", "combo" |
Global TYPE setting |
subtype |
Sub type of chart. Supported values depend on chart type: |
|
- for type="area" = subtype="area" |
"area" |
- for type="bar" = subtype="bar" |
"bar" |
- for type="line" = subtype="line, point, pline" (point line) |
"line" |
- for type="scatter" subtype="area, bar, line, point, pline" Note: you cannot mix area and bar on the same chart. Note: It is not recommended using showing a bar on a scatter chart as the X axis placement is skewed with bar and will not exactly line up with drawn X axis values which will defeat the purpose of using scatter in the first place. |
"point" |
- for type="combo" subtype="area, bar, line, point, pline" (note: you can not mix area and bar on the same chart) |
All but the last data set are drawn as "area" and the last is drawn as "line" |
You can use a comma delimited list of values to set a specific subtype for each data set. For example "area, area, point, line" would say that the first two data sets are areas, the third is point and the last one is a line |
|
scale |
The scale to use when creating the chart. "linear" or "semilog" |
Global SCALE setting |
name |
Name to uniquely identify the chart file that is auto-created. |
None; is required for all charts |
web |
The web in which to find topic (specified below) in which to find the TWiki tables |
The current web |
topic |
The topic in which to find the TWiki tables |
The current topic |
table |
TWiki table used to build the chart. A numerical value refers to the table number, where "1" is the first table seen in a topic. Any other non-numeric string refers to a named table defined by the TABLE variable with a name parameter. For example, table="trends" refers to the table that is preceded by %TABLE{ name="trends" }%. |
"1" |
title |
The title placed at the top of the chart |
None |
xlabel |
The label placed under the X axis describing the X values |
None |
ylabel |
The label placed to the left of the Y axis describing the Y values |
None |
data |
The source data to build the chart, defined as a range of table cells. For example for type="line", a data="R2:C3..R999:C6" would say that four lines were to be drawn with first line being rows 2-999 column 3 and last line being rows 2-999 column 6. |
None; is required for all charts |
defaultdata |
If there is sparse data, then use the value specified by defaultdata to fill in the missing data. A value of "none" means only draw actual data points. |
Global DEFAULTDATA setting |
xaxis |
X-Axis labels: The values are defined as a range of table cells. In case of scatter graph, xaxis represents the actual X values. The range also defines the orientation -- row or column oriented (if specified). For example "R2:C2..R999:C2" would take all of column 2 starting at row 2 and going through row 999. It would also denote that all remaining data is oriented columnar. |
None. Is required for type="scatter". If not specified, then no X axis labels shown and data assumed to be in columnar format. |
xaxisangle |
Angle the X-Axis labels are drawn. Only two angles are supported at this time, "0" draws horizontal labels, other numbers draw vertical labels |
"0" |
yaxis |
Y-Axis labels: "on" to show the labels, "off" for no labels. |
"off" |
ymin |
Minimum value drawn on the Y axis |
The minimum value specified by data |
ymax |
Maximum value drawn on the Y axis |
The maximum value specified by data |
xgrid |
Grid shown for X axis: "on" for solid grid lines, "dot" for dotted grid lines, "off" for none. |
"dot" |
ygrid |
Grid shown for Y axis: "on" for solid grid lines, "dot" for dotted grid lines, "off" for none. |
"dot" |
numygrids |
Number of Y axis grids drawn |
Global NUMYGRIDS setting |
ytics |
Number of tic marks to draw between Y axis grid lines. |
If scale="semilog", then ytics="10", else defaults to "0" |
numxgrids |
Number of X axis grids drawn. This can be used if there are a large number of X axis data points such that the X axis labels overlap. |
Draw all X-Axis labels |
datalabel |
Show data labels: "on" for labels, "box" for label in a box, "off" for none. It can also be a list like "off, off, off, box" to show values in a box for the fourth set of data points only. |
"off" |
legend |
Legend shown to the right of the chart. For example "R1:C3..R1:C6" would take all of row 1 starting at column 3 and going through column 6 as the name/legend of each set of data points |
None; no legend if not specified |
width |
Defines the overall width of the chart in pixels. |
Global WIDTH setting |
height |
Defines the overall height of the chart in pixels. |
Global HEIGHT setting |
alt |
Alternate text for chart image |
Empty alt tag |
colors |
A list of colors defining the color of each set of data points. |
Global LINE_COLORS setting for lines; global AREA_COLORS setting for area |
bgcolor |
Background color of the area surrounding the chart. For example, "#E7E7E7" sets a light gray background. Optionally specify a second values for the chart background itself. For example, "#E7E7E7, #FFFFC0" defines a chart with a light yellow background on a light gray surrounding. |
Global BGCOLOR setting |
gridcolor |
Colors/style of the grid (if any). If xgrid or ygrid = "on" then use the first gridcolor for drawing solid grid lines. If xgrid or ygrid = "dot", then use the full set of colors to define the line style for drawing the grid lines ("transparent" can be used to introduce holes in the line)" |
Global GRIDCOLOR setting |
linewidth |
Width of data lines in pixel |
Global LINEWIDTH setting |
pointsize |
Size of data points in pixel |
Global POINTSIZE setting |
| (other parameters) |
Other parameters are passed on to the img tag. Useful to add additional image parameters like align="right" |
None |