| Parameter | Notes |
|---|---|
id="nnn" |
The chart number to draw. This parameter must always be specified. If the value is non-numeric, it is resolved as a request variable. |
cache_time="nnn" |
Number of seconds to re-use charts without re-generating them. You can set the default for this parameter in the Joomla Plugin manager. |
use_cache_if_error="yes" |
"yes" means that an expired cached chart can be used if the chart cannot be drawn. You can set the default for this parameter in the Joomla Plugin manager. |
full_width |
Draws the chart in a <div> without style="display:inline-block;". |
error_img="xxx" |
Pathname of an image to draw if the chart cannot be drawn. |
error_txt="xxx" |
Text to be shown if the chart cannot be drawn. |
refresh="nnn" |
The chart will be re-generated and re-drawn every nnn seconds. |
class="xxx" |
A CSS class to add to the chart <div> element. |
csv="xxx" |
Options for CSV data downloads. csv="my_file_name.csv" sets the name of the downloaded file. To be recognised as a filename, the name must have the .csv extension. The default filename is "chart_data.csv". csv="headrow" adds the column names as the first row of the file. csv="sep" adds an extra first row "sep=," (without the quotes) which forces Microsoft Excel to interpret commas as separators. Do not use this unless your users exclusively use MS Excel as other software will treat this as a data line. Any combination of options can be used by separating them with commas, for example csv="my_file_name.csv ,headrow,sep". |
png="xxx" |
Options for PNG image downloads. png="my_file_name.png" sets the name of the downloaded file. To be recognised as a filename, the name must have the .png extension. The default filename is "chart.png". |
P000 - P999 |
Parameters that can be passed into the chart query, as described in the Advanced Techniques section. |