README.md
1# DokuWiki Plugin: AVBarChart
2
3<img src="example.png" border="0" />
4
5Generates a very simple CSS/HTML bar chart. Supports colors.
6
7## Install and documentation:
8
9* https://www.dokuwiki.org/plugin:avbarchart
10* Licence: GPL-2.0 (https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
11* Author: Sherri W. (https://syntaxseed.com)
12
13## Usage
14
15### Format
16
17```
18<barchart>MAXVAL|Label1:#,Label2:#:Color,Label3:#</barchart>
19```
20### Examples
21
22```
23<barchart>100|A:55,B:5,C:23,D:38</barchart>
24```
25
26With Colored Bars:
27
28```
29<barchart>100|A:55:#ffcccc,B:5,C:23#00ff00,D:38</barchart>
30```
31
32# Changelog
33
34* 2007-10-19
35 * Created plugin.
36* 2009-05-15
37 * Added URL to zip for automatic installation.
38* 2013-02-25
39 * Updated layout bugs for latest browsers and version of Dokuwiki.
40 * Updated this wiki page to remove redundant comments.
41* 2020-02-07
42 * Update for PHP v 7+.
43 * Move to GitHub repo.
44 * Add colored bars support. Contributed by ~ Gregor Anželj
45* 2022-08-08
46 * Test on 2022-07-31 “Igor”.
47 * Test and fix for PHP 8.1.
48* 2025-01-22
49 * Fix deprecation notice.
50* 2026-06-16
51 * Fix input escaping bug. Issue #2.