Metadata-Version: 2.1
Name: radar-chart
Version: 0.0.3
Summary: A package to quickly visualise radar charts
Home-page: https://github.com/pypa/sampleproject
Author: Awais Khan
Author-email: awaisgithub@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: matplotlib
Requires-Dist: numpy

# Radar Chart Package

This is a simple radar chart package to quickly use and visualise **radar charts** using a single function.

```python
from radar_chart.radar_chart import radar_chart
import matplotlib.pyplot as plt
import numpy as np
from random import random

labels = [i for i in range(12)]
values = [random()*1000 for i in range(12)]

radar_chart(values, labels, y_ticks=False)
plt.show()
```
![alt text](https://raw.githubusercontent.com/awaiskhan0/radar-chart/master/radar_chart_example.png)

### Parameters:

* `stats`: sequence of scalar
* `cat_labels`: sequence of string, default `None`. Labels for each value in `strats`
* `line_color`: hex-color-code string, default `#00C853`. Defines the line color that joins the plotted values.
* `fill_color`: hex-color-code string, default `#00C853`. Defines the fill color of the plot area.
* `marker`: string, default `None`. Marker style e.g. `+`, `x`, `o`.
* `marker_alpha`: float between 0-1, default `1`. Sets the transparency of the marker (0: Transparent, 1: Opaque).
* `fill_alpha`: float between 0-1, default `1`. Sets the transparency of the fill of the plot area (0: Transparent, 1: Opaque).
* `rotate`: float, default `'Degrees'`. Default setting does nothing. Accepts degrees (which is converted to radians) and rotates the plot clockwise.
* `reverse_rotation` bool, default `False`. Direction of the plot is reversed if `True`.
* `y_ticks` sequence of scalar/string or bool, default `True`. Default will set y-tick labels according to `stats` values. No y-tick labels if `False`. Sets sequence as y-tick labels if sequence.
* `x_ticks` sequence of scalar/string or bool, default `True`. Default will set y-tick labels according to `cat_labels` values. No y-tick labels if `False`. Sets sequence as x-tick labels if sequence.
* `gridline` bool, default `True`. Removes gridlines if `False`
* `gridline_color` hex-color-code string, default `'#888888'`. Defines the color of the gridlines.
* `gridline_width` float, default `0.3`. Defines the width of the gridlines.


