Skip to content

LsspViewLssp自定义View的实列、 Lssp原型头像显示View、 Lssp圆形数据显示View 、 Lssp南丁格尔玫瑰图View、 Lssp南丁格尔玫瑰饼状图View 、 Lssp折线图View 、 Lssp柱状图View

Notifications You must be signed in to change notification settings

LiLiTaBaBa/LsspView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LsspView

Lssp自定义View的实列

Lssp原型头像显示View

Lssp圆形数据显示View

Lssp南丁格尔玫瑰图View

Lssp南丁格尔玫瑰饼状图View

Lssp折线图View

Lssp柱状图View

image image image image image image image

//折线图添加随机点
private void setPoints(final LsspBrokenLineView lsspBrokenLineView) {
        //设置点位
        final List<PointBean> list = new ArrayList<>();
        lsspBrokenLineView.post(new Runnable() {
            @Override
            public void run() {
                float time = 0;
                for (int i = 0; i < 11; i++) {
                    float health = 48 + ((new Random().nextFloat() * (53 - 48)));
                    list.add(lsspBrokenLineView.getPointByTimeAndHealth(time, health));
                    time++;
                }
                lsspBrokenLineView.addPoints(list);
                lsspBrokenLineView.excuteAnim();
            }
        });
    }

About

LsspViewLssp自定义View的实列、 Lssp原型头像显示View、 Lssp圆形数据显示View 、 Lssp南丁格尔玫瑰图View、 Lssp南丁格尔玫瑰饼状图View 、 Lssp折线图View 、 Lssp柱状图View

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages