Closed Junaid-Sakib closed 8 years ago
Hi Junaid,
You need to use the latest version of the library. Add the below line in your app build.gradle file's dependency : 'com.numetriclabz.numandroidcharts:numandroidcharts:1.0.19'
Thanks a lot mate, it works like a charm now :)
One Small issue, when I show and hide the view the legend replicates itself +1 times giving me a grid of square boxes and text.
Code:
case R.id.radioFunnel:
chart_enquiries.setVisibility(View.GONE);
funnelChart.setVisibility(View.VISIBLE);
break;
Result:
Junaid,
Thanks for pointing out the issue. Change the library version to 1.0.20.
Thanks a ton Udit,
Cant express in words how helpful this has been :)
Power to your code!
May I know how to display the values in the chart?
Hi, thanks for the lib - great work!
I am not able to see the labels for funnel chart:
values.add(new ChartData("visits", 3000)); values.add(new ChartData("unique visits", 2000)); values.add(new ChartData("unique visitors", 1000)); values.add(new ChartData("unique session", 500)); values.add(new ChartData("log out", 400));
I am using the above code to render it. Exactly like it is done in the tutorial. However as the other factors seem to work, the labels are not to be seen.