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.
adding this line solved the problem:
anyChartView_expense = view.findViewById(R.id.any_chart_view_expense);
APIlib.getInstance().setActiveAnyChartView(anyChartView_expense);
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