DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:gchart

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
plugin:gchart [2024-01-11 02:10] – compatible with "Igor" Aleksandrplugin:gchart [2024-05-05 16:28] (current) andi
Line 6: Line 6:
 email      : andi@splitbrain.org email      : andi@splitbrain.org
 type       : syntax type       : syntax
-lastupdate : 2021-09-20 +lastupdate : 2024-05-05 
-compatible : 2010-11-07 2011-05-25+, Frusterick Manners, Igor+compatible : Kaos
 depends    :  depends    : 
 conflicts  conflicts 
Line 18: Line 18:
 donationurl: http://donate.dokuwiki.org/gChart donationurl: http://donate.dokuwiki.org/gChart
 ---- ----
 +
 +:!: This plugin used to use the Google Image Chart API. This API has been deprecated for years and finally stopped working in 2024. The plugin now relies on the Open Source [[https://quickchart.io/|QuickChart.io]] service. Old charts should continue to work, but will probably look different.
  
 ===== Download and Installation ===== ===== Download and Installation =====
  
 Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
 +
  
 ==== Changes ==== ==== Changes ====
Line 45: Line 48:
   * **Size** give in the form ''//width//x//height//'' in pixels. Defaults to ''%%320x140%%''   * **Size** give in the form ''//width//x//height//'' in pixels. Defaults to ''%%320x140%%''
   * **Type** defaults to ''pie3d'', can be one of the following   * **Type** defaults to ''pie3d'', can be one of the following
-    * ''pie3d'' for a 3D pie graph+    * ''pie3d'' for a 3D pie graph((Not supported by quickcharts.io, will fall back to pie2d))
     * ''pie2d'' for a 2D pie graph     * ''pie2d'' for a 2D pie graph
     * ''line'' for a line graph     * ''line'' for a line graph
Line 52: Line 55:
     * ''vbar'' for a vertical bar graph     * ''vbar'' for a vertical bar graph
     * ''qr'' for a two-dimensional barcode     * ''qr'' for a two-dimensional barcode
-  * **Graph color** this is the first hex color given. Defaults to the configuration (see below) or orange if no config is given+  * **Graph color** this is the first hex color given. Defaults to the configuration (see below). 
-  * **Background color** this is the second hex color given. Defaults to the configuration (see below) or white if no config is given.+  * **Background color** this is the second hex color given. Defaults to the configuration (see below).
   * **Alignment** can be ''left'', ''center'' or ''right''. Defaults to ''right''.   * **Alignment** can be ''left'', ''center'' or ''right''. Defaults to ''right''.
   * **Value Display** if ''value'' is given, the entered values are added to the graph   * **Value Display** if ''value'' is given, the entered values are added to the graph
-  * **Legend** is only available for pie graphs. If ''legend'' is given, the slices will not be labeled directly 
   * **Title** if you want to add a title to the graphic, give it in quotes. E.g. ''"this is my Title"''   * **Title** if you want to add a title to the graphic, give it in quotes. E.g. ''"this is my Title"''
  
 Hex colors can be the typical 3 part RGB hexcodes known from HTML or can contain a 4th alpha transparency value. Hex colors can be the typical 3 part RGB hexcodes known from HTML or can contain a 4th alpha transparency value.
  
-For QR-codes, the first line of data may contain a unique lettre ''L'', ''M'', ''Q'' or ''H'' to indicate the error correction level. The default value in ''L''. The other lines are joined with a semi-colon (;) and encoded in the barcode:+For QR-codes, the first line of data may contain a unique letter ''L'', ''M'', ''Q'' or ''H'' to indicate the error correction level. The default value is ''L''. The other lines are joined with a semi-colon (;) and encoded in the barcode:
  
 <code> <code>
Line 79: Line 81:
  
   * No encoding is used for the values, it might not work for big or many values   * No encoding is used for the values, it might not work for big or many values
-  * An internet connection is needed (because Google'servers are used)+  * An internet connection is needed (because quickchart.io servers are used)
   * Only single dimensional charts (a single row of data pairs) are supported   * Only single dimensional charts (a single row of data pairs) are supported
   * If this is too limiting for you I recommend one of the similar plugins   * If this is too limiting for you I recommend one of the similar plugins
plugin/gchart.txt · Last modified: 2024-05-05 16:28 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki