There is another JS charting library i.e. HighCharts which is somewhat similar to AnyChart.
https://www.highcharts.com/
We have successfully integrated HighCharts with our AwareIM apps. What we have done is, we downloaded the complete library and through Java, connected with DB directly and using SQLs, collected relevant data and populated the charts. Charts are rendered on a HTML page with a URL and displayed this URL on our AwareIM app. Looks like an integral part of app but basically, data is directly fetched from database and rendered on charts.
AnyChart can also be integrated in same manner. Just one way of integration.