AndroidPlot统计数据以图表的库

官网:http://androidplot.com/

jar库所在位置:http://androidplot.com/

官方Demo:https://bitbucket.org/androidplot/androidplot/src     官方的例子没有导入jar,所以运行不出来。在项目中导入jar库方法如下:

初窥AndroidPlot(一)初窥AndroidPlot(一)

我现在把已经添加好jar的例子给大家看:http://download.csdn.net/detail/xubuhang/7953129或者http://code.taobao.org/p/firstsvn/src/trunk/Demo/

运行时总会出现error: No resource identifier found for attribute 'domainLabel' in package ',没有资源id这种非常奇怪的问题!你只需要把res/layout/simple_xy_plot_example.xml的 

xmlns:ap="http://schemas.android.com/apk/res-auto"


ap:plotLabel="A Simple XY Plot"
ap:rangeLabel="range"
ap:domainLabel="domain"
ap:plotLabelTextSize="@dimen/title_font_size"
ap:rangeLabelTextSize="@dimen/range_label_font_size"
ap:domainLabelTextSize="@dimen/domain_label_font_size"
ap:graphMarginTop="20dp"
ap:graphMarginBottom="25dp"
ap:graphMarginLeft="15dp"
ap:graphMarginRight="10dp"

全部去掉,拷贝其他的布局文件就行了!

(如果出现http://jingyan.baidu.com/article/fd8044fa834e905031137ac6.html用此方法解决!)

 官网的文章:         http://androidplot.com/docs/quickstart/

相关文章:

  • 2022-02-22
  • 2022-02-27
  • 2021-11-22
  • 2021-07-10
  • 2021-09-28
  • 2021-12-05
猜你喜欢
  • 2021-11-15
  • 2021-09-23
  • 2021-11-14
  • 2022-12-23
  • 2017-11-23
  • 2018-09-04
  • 2021-05-19
相关资源
相似解决方案