Android-LineChart

简介:一个简单的折线,贝塞尔曲线图表控件,高度可扩展,支持动态显示。
更多:作者   提 Bug   
标签:
line chart-

介绍

一个简单的折线,贝塞尔曲线图表控件,高度可扩展,支持动态显示。

效果图

演示 演示 演示

演示 演示

使用

  1. 设置布局 ```XML


2. 添加数据
```Java
lineChartView.setData(datas);
  1. 修改 Y 轴标尺间隔

    lineChartView.setRulerYSpace(value);
    
  2. 修改 X 轴标尺间隔(锚点间距)

    lineChartView.setStepSpace(value);
    
  3. 设置是否显示表格

    lineChartView.setShowTable(isShowTable);
    
  4. 设置是否为贝塞尔曲线

    lineChartView.setBezierLine(isBezier);
    
  5. 设置锚点是否为方形

    lineChartView.setCubePoint(isCube);
    
  6. 播放动画

    lineChartView.playAnim();
    

关于我

  • Mail: jeanboy@foxmail.com

License

Copyright 2017 jeanboy

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Android 开发经验分享
用了一年多的理财推荐
Android 开发经验分享
用了一年多的理财推荐