A simple Android charts library.
<HorizontalScrollView>
<view
android:layout_width="wrap_content"
android:layout_height="300dp"
class="com.dacer.androidcharts.LineView"
android:id="@+id/line_view" />
</HorizontalScrollView>
LineView lineView = (LineView)findViewById(R.id.line_view);
LineView.setBottomTextList(strList);
LineView.setDataList(dataList);
<HorizontalScrollView>
<view
android:layout_width="wrap_content"
android:layout_height="300dp"
class="com.dacer.androidcharts.BarView"
android:id="@+id/bar_view" />
</HorizontalScrollView>
BarView barView = (BarView)findViewById(R.id.bar_view);\
barView.setBottomTextList(strList);
barView.setDataList(dataList,100);
<view
android:layout_width="wrap_content"
android:layout_height="300dp"
class="com.dacer.androidcharts.PieView"
android:id="@+id/pie_view" />
PieView pieView = (PieView)findViewById(R.id.pie_view);
ArrayList<PieHelper> pieHelperArrayList = new ArrayList<PieHelper>();
pieView.setDate(pieHelperArrayList);
- MIT License
Please fork this repository and contribute back using pull requests.
Any contributions, large or small, major features, bug fixes, additional language translations, unit/integration tests are welcomed