【文件属性】:
文件名称:android统计图源码
文件大小:84KB
文件格式:ZIP
更新时间:2016-09-15 05:01:30
柱状图
使用android生成统计柱状图
for (int i = 0; i < 12; i++) {
pts[0] = 32 ;
pts[1] = 300 - highPoints[0][1] ;
pts[2] = highPoints[0][0] ;
pts[3] = 300 - highPoints[0][1] ;
pts[4] = highPoints[0][0] ;
pts[5] = 300 - highPoints[0][1] ;
pts[6] = highPoints[1][0] ;
pts[7] = 300 - highPoints[1][1] ;
pts[8] = highPoints[1][0] ;
pts[9] = 300 - highPoints[1][1] ;
pts[10] = highPoints[2][0] ;
pts[11] = 300 - highPoints[2][1] ;
pts[12] = highPoints[2][0] ;
pts[13] = 300 - highPoints[2][1] ;
pts[14] = highPoints[3][0] ;
pts[15] = 300 - highPoints[3][1] ;
}
【文件预览】:
Android统计图集合源码
----BarChart()
--------2.png(17KB)
--------AndroidManifest.xml(579B)
--------res()
--------proguard.cfg(1KB)
--------src()
--------bin()
--------.classpath(288B)
--------assets()
--------project.properties(361B)
--------1.png(21KB)
--------.settings()
--------.project(844B)
--------gen()
网友评论
- 不错,可以使用,就是界面不是很好看。