Updating the backing data should automatically update the chart without a 
flicker. Can you file a JIRA ticket with a small sample app that demonstrates 
the problem?
G

On Nov 20, 2011, at 7:33 PM, Kostas Georgiadis wrote:

> Hello,
> 
> I have an application with a LineChartView. The chart data gets updated
> dynamically. I have a 
> 
> List<ValueSeries<Point>> data = new ArrayList<ValueSeries<Point>>();
> 
> and I'm inserting points into the data. 
> 
> My problem is that the only way to repaint/update the chart so the new
> points are displayed is to do something bizarre like :
> 
> int width = mychart.getWidth() - 1;
> mychart.setWidth(width);
> 
> Which adds a flicker effect but it works. There has to be a more
> appropriate way to repaint the chart but everything else I try didn't
> work.
> 
> Obviously I'm missing something. What is that?
> 
> thanks in advance,
> Kostas
> 
> 
> 

Reply via email to