bmarrdev / android-DecoView-charting

DecoView: Android arc based animated charting library
Apache License 2.0
991 stars 194 forks source link

Dyanamically changing the percentage value #41

Open Rahulbgeorge opened 6 years ago

parthanjaria commented 5 years ago

can you elaborate the issue. i might be facing the same issue.

parthanjaria commented 5 years ago

The issue i am facing is i wish to know which series is at what percentage? and then change from that x percentage to y percentage dyamically during the code flow.

tried this code :

ChartSeries chartSeries = null; int index = 1; try {chartSeries = streakProgressBar.getChartSeries(index); float per = chartSeries.getPositionPercent(); System.out.println(per+""); } catch (Exception e) { e.printStackTrace(); }

but always getting 0. don't know why and how.