Android可视化统计模块

ince this question was asked a few very nice open source native libraries have been created. These include:

  1. ChartDroid
  2. AndroidPlot
  3. AChartEngine

And a commercial chart:

  1. ShinobiControls

ORIGINAL

It looks like the creator of this question solved this problem and posted some interesting stuff about it to the Internet. I‘ve linked to his solution along with several others that exist now.

  1. rapidandroid (question creator solution)
  2. GraphView
  3. Java Charts for Android

Just to summarize: his solution involved using a JavaScript library (flot) built on top of jQuery. This library was then included in an HTML page which was loaded into a custom WebView. The custom WebView then read data from a custom Java class made accessible to JavaScript code via the WebView.addJavascriptInterface method. Details can be found at the above link.

The other solutions may present a more straightforward approach.



Android Charts Graphs Diagrams plots plotting charting

This is my personal compilation of Android charting and plotting libraries and tools as of March 2012, I might have used some of the previous comments on this page / stackoverflow without referencing, for which I am very thankful.

  1. Opensource libraries
  2. Commercial libraries
  3. Tutorial

Due to my low reputation, I cannot post links here, too bad.

Afreechart

http://code.google.com/p/afreechart/

AFreeChart is based on JFreeChart 1.0.13. (C) Copyright 2010,2011 by ICOMSYSTECH Co.,Ltd.

Screenshots:

http://afreechart.googlecode.com/svn/doc/screenshot/index.html

Javadocs:

http://afreechart.googlecode.com/svn/doc/javadocs/index.html

Download:

http://code.google.com/p/afreechart/downloads/list

ShinobiControls

http://www.shinobicontrols.com/android/shinobicharts/product-tour/

ShinobiControls for Android is a commercial chart ($195) with GPU accelerated graphics and multi-touch support.

Droidcharts

http://code.google.com/p/droidcharts/

Attempt to port JFreeCharts to Android platform. Currently the following chart types are supported: pie chart line chart xy line chart bar chart category bar chart

Download:

svn checkout http://droidcharts.googlecode.com/svn/trunk/ droidcharts-read-only

ChartDroid

http://code.google.com/p/chartdroid/

native chart engine for android

ChartDroid is an Intent-based "library application" for static chart and graph generation on Android. It can graph/plot/display numerical data in many representations. As a developer, you need only to have your users install the library, then implement a Content Provider according to this simple specification.

License: Apache License 2.0

Screenshots:

http://code.google.com/p/chartdroid/wiki/Screenshots

AndroidPlot

http://androidplot.com/wiki/Home

License: It‘s free. See our BSD License androidplot.com/wiki/License

Why use AndroidPlot instead of another 3rdParty library? Dynamic model support Plots auto adjust for screen size and orientation. Actively developed and maintained Responsive support forum

AChartEngine

http://www.achartengine.org/index.html
http://code.google.com/p/achartengine/

It‘s the only one I‘ve found that is all Java (no webview stuff), is open source, and the author isn‘t asking for money even if you end up using it in a pay app.

License: Apache License 2.0

Download:

http://code.google.com/p/achartengine/downloads/list

Screenshots:

http://www.achartengine.org/content/demo.html

Tutorial:

http://sites.google.com/site/androidhowto/how-to-1/create-graphs

GraphView

http://android.arnodenhond.com/components/graphview http://github.com/jjoe64/GraphView

Download link:

http://android.arnodenhond.com/components

you are required to build an about page that references your usage of Graphview, and if you charge for your app you have to give a donation to the Graphview author.

Snowdon

http://code.google.com/p/snowdon/

A simple, fast, graphing library for Android featuring scatter plots, line graphs, area plots, histograms, bar charts and heat maps. There is a quick start project in the source, it seems to me that the labels of axes cannot be trivially changed?

rapidandroid

http://github.com/dimagi/rapidandroid

last activity in 2010 (03/2012)

aiCharts for Android

http://www.artfulbits.com/products/android/aicharts.aspx

$150 License

Dynamic Datasource Support

Android Chart

http://www.keepedge.com/products/android_charting/

License: Commercial

$299 License

Java Charts for Android

http://www.java4less.com/charts/chart.php?info=android

costs over $140 USD for a redistribution license so that you can use it on an app that you place on the Android Market.

Rchart 2 for android

http://www.java4less.com/charts/chart.php?info=android

$138.60 License

AndroCharts

http://www.niftymobileapps.com/android-chart-library

$99 License

Another Java - Android only Library with good looking but limited charts. Obvious choice if you want to quickly embed good looking charts with very little coding effort.

Tutorial on Generating graphs in Android

http://sudarmuthu.com/blog/generating-graphs-in-android

goal was to create graphs in android using any JavaScript or HTML that are stored locally. The app and the graphs should work even if access to Internet is not available.

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。