https://github.com/codelv/enaml-native-charts
Charts for enaml-native
https://github.com/codelv/enaml-native-charts
enaml-native
Last synced: 11 months ago
JSON representation
Charts for enaml-native
- Host: GitHub
- URL: https://github.com/codelv/enaml-native-charts
- Owner: codelv
- License: mit
- Created: 2017-10-23T13:27:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-05T03:38:39.000Z (about 8 years ago)
- Last Synced: 2025-06-25T15:06:03.488Z (11 months ago)
- Topics: enaml-native
- Language: Python
- Size: 68.4 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# enaml-native-charts
Charts for enaml-native using [MPAndroidChart](https://github.com/PhilJay/MPAndroidChart)
[](https://youtu.be/crKQpns_vL8)
### Installation
Install using the [enaml-native-cli](https://github.com/codelv/enaml-native-cli)
(or pip install and run `enaml-native link`)
```bash
enaml-native install enaml-native-charts
```
Then add `enaml-native-charts` to your `project.json`.
Finally in `main.py` install the chart widgets
```python
from charts.android.factories import install
install()
```
Then import and use in your `view.enaml`
```python
from charts.widgets.api import *
#etc...
```
### Features
Adds the following widgets
- LineChart
- ScatterChart
- PieChart
- BarChart (stacked and regular)
Data is added to a chart using the `DataSet` component.
> Note: Live data updating has not yet been implemented (but I'm working on it)
### Examples
See the [examples](examples/) directory.