热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

Android可视化统计模块

incethisquestionwasaskedafewveryniceopen source nativelibrarieshavebeencreated.Theseinclud


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.



推荐阅读
  • HDU 2372 El Dorado(DP)的最长上升子序列长度求解方法
    本文介绍了解决HDU 2372 El Dorado问题的一种动态规划方法,通过循环k的方式求解最长上升子序列的长度。具体实现过程包括初始化dp数组、读取数列、计算最长上升子序列长度等步骤。 ... [详细]
  • VScode格式化文档换行或不换行的设置方法
    本文介绍了在VScode中设置格式化文档换行或不换行的方法,包括使用插件和修改settings.json文件的内容。详细步骤为:找到settings.json文件,将其中的代码替换为指定的代码。 ... [详细]
  • 本文讨论了如何优化解决hdu 1003 java题目的动态规划方法,通过分析加法规则和最大和的性质,提出了一种优化的思路。具体方法是,当从1加到n为负时,即sum(1,n)sum(n,s),可以继续加法计算。同时,还考虑了两种特殊情况:都是负数的情况和有0的情况。最后,通过使用Scanner类来获取输入数据。 ... [详细]
  • 本文介绍了九度OnlineJudge中的1002题目“Grading”的解决方法。该题目要求设计一个公平的评分过程,将每个考题分配给3个独立的专家,如果他们的评分不一致,则需要请一位裁判做出最终决定。文章详细描述了评分规则,并给出了解决该问题的程序。 ... [详细]
  • 本文介绍了OC学习笔记中的@property和@synthesize,包括属性的定义和合成的使用方法。通过示例代码详细讲解了@property和@synthesize的作用和用法。 ... [详细]
  • 知识图谱——机器大脑中的知识库
    本文介绍了知识图谱在机器大脑中的应用,以及搜索引擎在知识图谱方面的发展。以谷歌知识图谱为例,说明了知识图谱的智能化特点。通过搜索引擎用户可以获取更加智能化的答案,如搜索关键词"Marie Curie",会得到居里夫人的详细信息以及与之相关的历史人物。知识图谱的出现引起了搜索引擎行业的变革,不仅美国的微软必应,中国的百度、搜狗等搜索引擎公司也纷纷推出了自己的知识图谱。 ... [详细]
  • 本文介绍了P1651题目的描述和要求,以及计算能搭建的塔的最大高度的方法。通过动态规划和状压技术,将问题转化为求解差值的问题,并定义了相应的状态。最终得出了计算最大高度的解法。 ... [详细]
  • 本文介绍了lua语言中闭包的特性及其在模式匹配、日期处理、编译和模块化等方面的应用。lua中的闭包是严格遵循词法定界的第一类值,函数可以作为变量自由传递,也可以作为参数传递给其他函数。这些特性使得lua语言具有极大的灵活性,为程序开发带来了便利。 ... [详细]
  • 基于layUI的图片上传前预览功能的2种实现方式
    本文介绍了基于layUI的图片上传前预览功能的两种实现方式:一种是使用blob+FileReader,另一种是使用layUI自带的参数。通过选择文件后点击文件名,在页面中间弹窗内预览图片。其中,layUI自带的参数实现了图片预览功能。该功能依赖于layUI的上传模块,并使用了blob和FileReader来读取本地文件并获取图像的base64编码。点击文件名时会执行See()函数。摘要长度为169字。 ... [详细]
  • Webpack5内置处理图片资源的配置方法
    本文介绍了在Webpack5中处理图片资源的配置方法。在Webpack4中,我们需要使用file-loader和url-loader来处理图片资源,但是在Webpack5中,这两个Loader的功能已经被内置到Webpack中,我们只需要简单配置即可实现图片资源的处理。本文还介绍了一些常用的配置方法,如匹配不同类型的图片文件、设置输出路径等。通过本文的学习,读者可以快速掌握Webpack5处理图片资源的方法。 ... [详细]
  • CSS3选择器的使用方法详解,提高Web开发效率和精准度
    本文详细介绍了CSS3新增的选择器方法,包括属性选择器的使用。通过CSS3选择器,可以提高Web开发的效率和精准度,使得查找元素更加方便和快捷。同时,本文还对属性选择器的各种用法进行了详细解释,并给出了相应的代码示例。通过学习本文,读者可以更好地掌握CSS3选择器的使用方法,提升自己的Web开发能力。 ... [详细]
  • Windows下配置PHP5.6的方法及注意事项
    本文介绍了在Windows系统下配置PHP5.6的步骤及注意事项,包括下载PHP5.6、解压并配置IIS、添加模块映射、测试等。同时提供了一些常见问题的解决方法,如下载缺失的msvcr110.dll文件等。通过本文的指导,读者可以轻松地在Windows系统下配置PHP5.6,并解决一些常见的配置问题。 ... [详细]
  • 本文介绍了C#中数据集DataSet对象的使用及相关方法详解,包括DataSet对象的概述、与数据关系对象的互联、Rows集合和Columns集合的组成,以及DataSet对象常用的方法之一——Merge方法的使用。通过本文的阅读,读者可以了解到DataSet对象在C#中的重要性和使用方法。 ... [详细]
  • 本文介绍了在SpringBoot中集成thymeleaf前端模版的配置步骤,包括在application.properties配置文件中添加thymeleaf的配置信息,引入thymeleaf的jar包,以及创建PageController并添加index方法。 ... [详细]
  • 本文详细介绍了Linux中进程控制块PCBtask_struct结构体的结构和作用,包括进程状态、进程号、待处理信号、进程地址空间、调度标志、锁深度、基本时间片、调度策略以及内存管理信息等方面的内容。阅读本文可以更加深入地了解Linux进程管理的原理和机制。 ... [详细]
author-avatar
blue薾孋
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有