/enaml-native-charts

Charts for enaml-native

Primary LanguagePythonMIT LicenseMIT

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.