DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:avbarchart

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:avbarchart [2020-02-07 19:31] – Fix case on github url sherriplugin:avbarchart [2021-10-21 17:17] – Screenshot now hosted on GitHub. sherri
Line 3: Line 3:
 ---- plugin ---- ---- plugin ----
 description: Generates a simple HTML/CSS bar chart. Supports colored bars. description: Generates a simple HTML/CSS bar chart. Supports colored bars.
-author     : Sherri W. (http://SyntaxSeed.com+author     : Sherri Wheeler 
-email      : (use my website to contact me)+email      : Twitter @SyntaxSeed or http://SyntaxSeed.com
 type       : syntax type       : syntax
-lastupdate : 2020-02-07b +lastupdate : 2020-03-18 
-compatible : 2018-04-22b++compatible : 2018-04-22b+, Hogfather
 depends    :  depends    : 
 conflicts  conflicts 
Line 15: Line 15:
 downloadurl: https://github.com/syntaxseed/avbarchart/archive/master.zip downloadurl: https://github.com/syntaxseed/avbarchart/archive/master.zip
 bugtracker :  bugtracker : 
-sourcerepo : +sourcerepo : https://github.com/syntaxseed/avbarchart
 donationurl:  donationurl: 
-screenshot_img: http://syntaxseed.com/assets/screenshots/avbarchart.png+ 
 +screenshot_img: https://raw.githubusercontent.com/syntaxseed/avbarchart/master/example.png
 ---- ----
  
Line 24: Line 25:
 With this plugin you can create a quick and easy bar chart on your DokuWiki page. It uses CSS and HTML only and no images needed.  With this plugin you can create a quick and easy bar chart on your DokuWiki page. It uses CSS and HTML only and no images needed. 
  
-Screenshot and info available here: [[http://syntaxseed.com/project/avbarchart/|AV Bar Chart for Dokuwiki]]. +Screenshot and info available here: [[https://github.com/syntaxseed/avbarchart]].
  
  
 ===== Syntax and Usage ===== ===== Syntax and Usage =====
-{{http://syntaxseed.com/assets/screenshots/avbarchart.png?nolink}}+ 
 +{{https://raw.githubusercontent.com/syntaxseed/avbarchart/master/example.png?nolink}} 
 <code> <code>
 <barchart>1000|A:700,B:50,C:250,D:1000</barchart> <barchart>1000|A:700,B:50,C:250,D:1000</barchart>
Line 38: Line 40:
  
 You can then use regular DokuWiki syntax to put a title above it and if needed, a legend below to describe the labels. If you make the bars wide, the labels can be full text. You can then use regular DokuWiki syntax to put a title above it and if needed, a legend below to describe the labels. If you make the bars wide, the labels can be full text.
 +
  
 ==== Colored Bars ==== ==== Colored Bars ====
Line 51: Line 54:
  
   * Plugin Manager: Paste this URL into the Plugin Manager to install AVBarChart automatically: [[https://github.com/syntaxseed/avbarchart/archive/master.zip]]   * Plugin Manager: Paste this URL into the Plugin Manager to install AVBarChart automatically: [[https://github.com/syntaxseed/avbarchart/archive/master.zip]]
 +
  
 ===== Configuration Vars: ===== ===== Configuration Vars: =====
 +
 <code> <code>
 // ********* CHART CONFIG SETTINGS ************* // ********* CHART CONFIG SETTINGS *************
Line 75: Line 80:
  
 Please submit a PR to the GitHub repo. Please submit a PR to the GitHub repo.
 +
  
 ===== Known Bugs ===== ===== Known Bugs =====
  
   * None.   * None.
 +
  
 ===== To Do ===== ===== To Do =====
Line 84: Line 91:
   * Nicer style of bars.   * Nicer style of bars.
   * Use divs instead of table.   * Use divs instead of table.
 +
 +
 ===== Changelog ===== ===== Changelog =====
  
Line 97: Line 106:
     * Move to GitHub repo.     * Move to GitHub repo.
     * Add colored bars support. Contributed by ~ Gregor Anželj     * Add colored bars support. Contributed by ~ Gregor Anželj
 +
  
 ===== Comments / Discussion ===== ===== Comments / Discussion =====
Line 103: Line 113:
  
 Simple and elegant plugin. Excellent work!. ~Dmitri Simple and elegant plugin. Excellent work!. ~Dmitri
- 
- 
  
plugin/avbarchart.txt · Last modified: 2022-09-23 16:39 by johng

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