Skip to content

GunvantMurge/BarChart

Repository files navigation

BarChart AnimationView

Used dependencies

compile 'com.github.PhilJay:MPAndroidChart:v2.0.9'

screenshot_2017-03-08-12-28-59-095_com example admin barchart 1

#MainActivity java private ArrayList getDataSet() { ArrayList dataSets = null;

    ArrayList<BarEntry> valueSet1 = new ArrayList<>();
    BarEntry v1e1 = new BarEntry(110.000f, 0);
    valueSet1.add(v1e1);
    
    BarDataSet barDataSet1 = new BarDataSet(valueSet1, "Brand 1");
    barDataSet1.setColors(Common.COLORFUL_COLOR);

    dataSets = new ArrayList<>();
    dataSets.add(barDataSet1);
    return dataSets;
}

###getXAxisValues Method

private ArrayList getXAxisValues() { ArrayList xAxis = new ArrayList<>(); xAxis.add("Android Animatio BarChart");
return xAxis; }

About

Android Barchart PhilJay/MPAndroidChart library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages