codelv / enaml-native-charts

Charts for enaml-native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

enaml-native-charts

Charts for enaml-native using MPAndroidChart

enaml-native-charts

Installation

Install using the enaml-native-cli (or pip install and run enaml-native link)

enaml-native install enaml-native-charts

Then add enaml-native-charts to your project.json.

Finally in main.py install the chart widgets

from charts.android.factories import install
install()

Then import and use in your view.enaml

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 directory.

About

Charts for enaml-native

License:MIT License


Languages

Language:Python 95.6%Language:Java 2.8%Language:Shell 1.6%