当前位置: 首页>>代码示例>>Java>>正文


Java ChartDataAnimatorV8类代码示例

本文整理汇总了Java中lecho.lib.hellocharts.animation.ChartDataAnimatorV8的典型用法代码示例。如果您正苦于以下问题:Java ChartDataAnimatorV8类的具体用法?Java ChartDataAnimatorV8怎么用?Java ChartDataAnimatorV8使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ChartDataAnimatorV8类属于lecho.lib.hellocharts.animation包,在下文中一共展示了ChartDataAnimatorV8类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: AbstractChartView

import lecho.lib.hellocharts.animation.ChartDataAnimatorV8; //导入依赖的package包/类
public AbstractChartView(Context context, AttributeSet attrs, int defStyleAttr) {
    super(context, attrs, defStyleAttr);
    chartComputator = new ChartComputator();
    touchHandler = new ChartTouchHandler(context, this);
    axesRenderer = new AxesRenderer(context, this);

    if (Build.VERSION.SDK_INT < Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
        this.dataAnimator = new ChartDataAnimatorV8(this);
        this.viewportAnimator = new ChartViewportAnimatorV8(this);
    } else {
        this.viewportAnimator = new ChartViewportAnimatorV14(this);
        this.dataAnimator = new ChartDataAnimatorV14(this);
    }
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:15,代码来源:AbstractChartView.java

示例2: AbstractChartView

import lecho.lib.hellocharts.animation.ChartDataAnimatorV8; //导入依赖的package包/类
public AbstractChartView(Context context, AttributeSet attrs, int defStyleAttr) {
    super(context, attrs, defStyleAttr);
    this.isInteractive = true;
    this.isContainerScrollEnabled = false;
    this.chartComputator = new ChartComputator();
    this.touchHandler = new ChartTouchHandler(context, this);
    this.axesRenderer = new AxesRenderer(context, this);
    if (VERSION.SDK_INT < 14) {
        this.dataAnimator = new ChartDataAnimatorV8(this);
        this.viewportAnimator = new ChartViewportAnimatorV8(this);
        return;
    }
    this.viewportAnimator = new ChartViewportAnimatorV14(this);
    this.dataAnimator = new ChartDataAnimatorV14(this);
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:16,代码来源:AbstractChartView.java


注:本文中的lecho.lib.hellocharts.animation.ChartDataAnimatorV8类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。