1# DokuWiki Radar Chart Plugin
2
3A flexible DokuWiki plugin for creating radar charts with multiple datasets, custom styling, and extensive configuration options.
4
5## Features
6
7- Multiple datasets support
8- Four predefined color schemes (default, pastel, dark, neon)
9- Custom colors per dataset
10- Configurable chart dimensions and styling
11- Responsive design with dark mode support
12- Enhanced tooltips and interactions
13
14## Installation
15
161. Download the plugin
172. Unzip to `lib/plugins/radarchart/` in your DokuWiki installation
183. Configure through DokuWiki's plugin manager
19
20## Usage
21
22Basic usage:
23```
24<radar>
25Speed|85
26Accuracy|92
27Power|78
28Control|95
29Endurance|88
30</radar>
31```
32
33Advanced usage with multiple datasets and custom colors:
34```
35<radar width="600" height="600" colorScheme="pastel" legendPosition="right">
36@dataset Player 1|rgba(255,100,100,0.2)|rgb(255,100,100)
37Speed|85
38Accuracy|92
39Power|78
40Control|95
41Endurance|88
42
43@dataset Player 2
44Speed|75
45Accuracy|88
46Power|92
47Control|85
48Endurance|79
49</radar>
50```
51Sample:![radarchart](https://github.com/user-attachments/assets/bad32062-640a-4b2d-bd3a-56f5becf57ce)
52
53## Configuration Options
54
55| Option | Description | Default |
56|--------|-------------|---------|
57| width | Chart width in pixels | 400 |
58| height | Chart height in pixels | 400 |
59| colorScheme | Color scheme (default/pastel/dark/neon) | default |
60| minScale | Minimum scale value | 0 |
61| maxScale | Maximum scale value | 100 |
62| legendPosition | Legend placement (top/bottom/left/right) | top |
63| borderWidth | Line thickness | 2 |
64| pointRadius | Size of data points | 3 |
65
66## Requirements
67
68- DokuWiki >= 2020-07-29 "Hogfather"
69- Modern web browser with JavaScript enabled
70- Internet connection (for Chart.js CDN)
71
72## License
73
74GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
75
76## Author
77
78Heinrich Krupp (heinrich.krupp@gmil.com)
79
80## Support
81
82- Report issues on GitHub
83- Visit the [DokuWiki Plugin Page](https://www.dokuwiki.org/plugin:radarchart)
84