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
Next revision
Previous revision
Next revisionBoth sides next revision
plugin:gchart [2013-02-07 19:19] – [Syntax] 80.13.76.36plugin:gchart [2021-09-19 23:50] – version upped andi
Line 6: Line 6:
 email      : andi@splitbrain.org email      : andi@splitbrain.org
 type       : syntax type       : syntax
-lastupdate : 2009-12-22 +lastupdate : 2021-09-19 
-compatible : 2010-11-07 2011-05-25++compatible : 2010-11-07 2011-05-25+, Frusterick Manners
 depends    :  depends    : 
 conflicts  conflicts 
-similar    : chart, pchart +similar    : pchart 
-tags       : media, images, diagram, chart, google, embed+tags       : media, images, diagram, chart, google, embed, barcode
  
-downloadurl: http://github.com/splitbrain/dokuwiki-plugin-gchart/zipball/master +downloadurl: https://github.com/splitbrain/dokuwiki-plugin-gchart/zipball/master 
-sourcerepo : http://github.com/splitbrain/dokuwiki-plugin-gchart/ +sourcerepo : https://github.com/splitbrain/dokuwiki-plugin-gchart/ 
-bugtracker : http://github.com/splitbrain/dokuwiki-plugin-gchart/issues+bugtracker : https://github.com/splitbrain/dokuwiki-plugin-gchart/issues
 donationurl: http://donate.dokuwiki.org/gChart donationurl: http://donate.dokuwiki.org/gChart
 ---- ----
Line 21: Line 21:
 ===== Download and Installation ===== ===== Download and Installation =====
  
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the download link given above. 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 ====
  
-{{rss>http://github.com/feeds/splitbrain/commits/dokuwiki-plugin-gchart/master date}}+{{rss>https://github.com/splitbrain/dokuwiki-plugin-gchart/commits/master.atom date}}
  
 ===== Syntax ===== ===== Syntax =====
Line 34: Line 34:
 <code> <code>
 <gchart 350x120 pie3d #0000ff #ffffff right> <gchart 350x120 pie3d #0000ff #ffffff right>
-Apples       90 +Apples       3 
-Peaches      = 5 +Peaches      = 23 
-Strawberries = 4 +Strawberries = 25 
-Peanuts      = 1+Peanuts      = 7
 </gchart> </gchart>
 </code> </code>
Line 51: Line 51:
     * ''hbar'' for a horizontal bar graph     * ''hbar'' for a horizontal bar graph
     * ''vbar'' for a vertical bar graph     * ''vbar'' for a vertical bar graph
 +    * ''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) or orange if no config is given.
   * **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) or white if no config is given.
Line 59: Line 60:
  
 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:
 +
 +<code>
 +<gchart qr 120x120>
 +M
 +URLTO:www.dokuwiki.org/plugin:gchart
 +</gchart>
 +</code>
  
 ===== Configuration ===== ===== Configuration =====
plugin/gchart.txt · Last modified: 2024-01-11 02:10 by Aleksandr

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