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

adding 2 charts in same fragment #174

Closed MHaris404 closed 4 years ago

MHaris404 commented 4 years ago

i have added 2 charts in the same fragment and only 2nds graph is showing when i remove the 2nd graph, 1st graph works completely fine

Edit: i have reordered the graph position, only the 2nd graph is showing

MHaris404 commented 4 years ago

adding this line solved the problem: anyChartView_expense = view.findViewById(R.id.any_chart_view_expense); APIlib.getInstance().setActiveAnyChartView(anyChartView_expense);