enaml-native-charts package for enaml-native-cli
Project description
# enaml-native-charts
Charts for enaml-native using [MPAndroidChart](https://github.com/PhilJay/MPAndroidChart)
[![enaml-native-charts](https://img.youtube.com/vi/crKQpns_vL8/0.jpg)](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.
Charts for enaml-native using [MPAndroidChart](https://github.com/PhilJay/MPAndroidChart)
[![enaml-native-charts](https://img.youtube.com/vi/crKQpns_vL8/0.jpg)](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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file enaml_native_charts-1.0.3-py2-none-any.whl
.
File metadata
- Download URL: enaml_native_charts-1.0.3-py2-none-any.whl
- Upload date:
- Size: 68.6 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 155bedc9b83bf6567814f6eba99f5cc264c249e89d614bd9736df45a3d68d039 |
|
MD5 | 75e4b2ac8591a7aba0625dcdd63d0569 |
|
BLAKE2b-256 | 985bf66665733f0c21fc9cea09aafafb05c149e8cbaff4fce70342da59616060 |