AndroidCharts alternatives and similar packages
Based on the "Chart" category.
Alternatively, view AndroidCharts alternatives based on common mentions on social networks and blogs.
-
MPAndroidChart
A powerful ๐ Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations. -
HelloCharts
Charts library for Android compatible with API 8+, several chart types with scaling, scrolling and animations ๐ -
WilliamChart
Android Library to rapidly develop attractive and insightful charts in android applications. -
GraphView
Android Graph Library for creating zoomable and scrollable line and bar graphs. -
Android-Charts
Open-source native Android graph/chart framework includes line chart,stick chart,candlestick chart,pie chart,spider-web chart etc. -
achartengine
Charting library for Android applications. Automatically exported from code.google.com/p/achartengine -
HoloGraphLibrary
Fork of the HoloGraphLibrary by Daniel Nadeau with additionnal features -
NumAndroidCharts
A Powerful Android Charting Library by https://www.numetriclabz.com/
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of AndroidCharts or a related project?
README
AndroidCharts
A simple Android charts library.
Known Uses in
Including in Your Project
Eclipse
- Import
/AndroidCharts
folder. - Move
/java
folder to/src
folder. mkdir libs
, copyandroid-support-v4.jar
to/libs
.
Gradle
repositories {
jcenter()
}
compile 'im.dacer:AndroidCharts:1.0.4'
Usage
Line Chart
<HorizontalScrollView>
<view
android:layout_width="wrap_content"
android:layout_height="300dp"
class="im.dacer.androidcharts.LineView"
android:id="@+id/line_view" />
</HorizontalScrollView>
LineView lineView = (LineView)findViewById(R.id.line_view);
lineView.setDrawDotLine(false); //optional
lineView.setShowPopup(LineView.SHOW_POPUPS_MAXMIN_ONLY); //optional
lineView.setBottomTextList(strList);
lineView.setColorArray(new int[]{Color.BLACK,Color.GREEN,Color.GRAY,Color.CYAN});
lineView.setDataList(dataLists); //or lineView.setFloatDataList(floatDataLists)
Bar Chart
<HorizontalScrollView>
<view
android:layout_width="wrap_content"
android:layout_height="300dp"
class="im.dacer.androidcharts.BarView"
android:id="@+id/bar_view" />
</HorizontalScrollView>
BarView barView = (BarView)findViewById(R.id.bar_view);\
barView.setBottomTextList(strList);
barView.setDataList(dataList,100);
Clock Pie Chart
<view
android:layout_width="300dp"
android:layout_height="wrap_content"
class="im.dacer.androidcharts.ClockPieView"
android:id="@+id/clock_pie_view" />
ClockPieView pieView = (ClockPieView)findViewById(R.id.clock_pie_view);
ArrayList<ClockPieHelper> pieHelperArrayList = new ArrayList<ClockPieHelper>();
pieView.setDate(pieHelperArrayList);
Pie Chart
<view
android:layout_width="300dp"
android:layout_height="wrap_content"
class="im.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);
pieView.selectedPie(2); //optional
pieView.setOnPieClickListener(listener) //optional
pieView.showPercentLabel(false); //optional
License
The MIT License (MIT)
Copyright (c) 2013 Ding Wenhao
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Contributing
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
*Note that all licence references and agreements mentioned in the AndroidCharts README section above
are relevant to that project's source code only.