AnyChart-Android icon indicating copy to clipboard operation
AnyChart-Android copied to clipboard

Showing White Screen Even after loading the data

Open shreshth28 opened this issue 5 years ago • 1 comments

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();`

shreshth28 avatar May 25 '20 12:05 shreshth28

@shreshth28 Can you provide the full chart configuration code?

Shestac92 avatar May 26 '20 03:05 Shestac92