AnyChart-Android
AnyChart-Android copied to clipboard
using anychartview.clear() showing blank screen. Unable to replace a chart with another chart dynamically. Trying in android
I created a pie chart dynamically and tried to replace it with line graph in the same view on user selection of graph type.
Used anychartview.clear() before setting the graph but its showing blank screen. Also, anychartview.dispose() is not working. Please help me here.
@trisandhyanagam Try to call the following code before creating new chart:
APIlib.getInstance().setActiveAnyChartView(anyChartView);
Also, do you receive any errors?