Commit e3d73556 authored by Buwaneka 's avatar Buwaneka

Update Count/ChartShow.java

parent 0d2c6065
...@@ -59,7 +59,7 @@ public class ChartShow extends AppCompatActivity { ...@@ -59,7 +59,7 @@ public class ChartShow extends AppCompatActivity {
storageReference = storage.getReference(); storageReference = storage.getReference();
BarChart chart = (BarChart) findViewById(R.id.chart); BarChart chart = (BarChart) findViewById(R.id.chart);
ArrayList NoOfresult= new ArrayList(); ArrayList NoOfresult= new ArrayList(); //Create aarraylist number result
for(int i=0;i<GlobleVariable.resultList.size();i++){ for(int i=0;i<GlobleVariable.resultList.size();i++){
NoOfresult.add(new BarEntry(GlobleVariable.resultList.get(i), i)); NoOfresult.add(new BarEntry(GlobleVariable.resultList.get(i), i));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment