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

using anychartview.clear() showing blank screen. Unable to replace a chart with another chart dynamically. Trying in android

Open trisandhyanagam opened this issue 5 years ago • 1 comments

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 avatar May 30 '20 14:05 trisandhyanagam

@trisandhyanagam Try to call the following code before creating new chart:

APIlib.getInstance().setActiveAnyChartView(anyChartView);

Also, do you receive any errors?

Shestac92 avatar Jun 01 '20 05:06 Shestac92