AnyChart / AnyChart-Android

AnyChart Android Chart is an amazing data visualization library for easily creating interactive charts in Android apps. It runs on API 19+ (Android 4.4) and features dozens of built-in chart types.
2.29k stars 367 forks source link

Showing White Screen Even after loading the data #175

Open shreshth28 opened 4 years ago

shreshth28 commented 4 years ago

It just shows me a white screen saying AnyChart trial version. I have checked the data and looged it and it comes out to be accurate, however chat section shows no chart on the screen

anyChartView.clear(); data.add(new ValueDataEntry("New Confirmed", object.getNewConfirmed())); data.add(new ValueDataEntry("Total Confirmed", object.getTotalConfirmed())); data.add(new ValueDataEntry("New Deaths", object.getNewDeaths())); data.add(new ValueDataEntry("Total Deaths", object.getTotalDeaths())); data.add(new ValueDataEntry("New Recovered", object.getNewRecovered())); data.add(new ValueDataEntry("Total Recovered", object.getTotalRecovered())); Log.d("Check",object.getNewConfirmed()+""); Log.d("Check",object.getTotalConfirmed()+""); Log.d("Check",object.getNewConfirmed()+""); Log.d("Check",object.getTotalDeaths()+""); Log.d("Check",object.getNewRecovered()+""); Log.d("Check",object.getTotalRecovered()+""); anyChartView.setChart(pie); Toast.makeText(DashboardActivity.this, "Prepared Data", Toast.LENGTH_SHORT).show();`

Shestac92 commented 4 years ago

@shreshth28 Can you provide the full chart configuration code?