I tested without thread and it works, I use Thread not TaskAdapter or
ApplicationContext#queueCallback()

May I keep Thread and use  ApplicationContext#queueCallback()

And How to use it ?

 

 

Jérôme Serré

____________________________

Manage your cellar

 <http://www.macave.eu/> http://www.macave.eu

 

 

De : Greg Brown [mailto:[email protected]] 
Envoyé : vendredi 18 novembre 2011 17:42
À : [email protected]
Objet : Re: How to refresh a HighLowChartView

 

OK, are you performing the update using TaskAdapter or
ApplicationContext#queueCallback()? If not, that might be the problem.

 

On Nov 18, 2011, at 10:57 AM, Jérôme Serré wrote:





yes

 

Jérôme Serré

____________________________

Manage your cellar

http://www.macave.eu <http://www.macave.eu/> 

 

 

De : Greg Brown [mailto:[email protected]] 
Envoyé : vendredi 18 novembre 2011 16:55
À : [email protected]
Objet : Re: How to refresh a HighLowChartView

 

You shouldn't need to call repaint() yourself. Are you updating the chart
data in a background thread?

 

On Nov 18, 2011, at 10:46 AM, Jérôme Serré wrote:






Hello,

I try to refresh a chartview when a new candlestisk is add. It doesn’t work
!

After this code:

((ValueSeries)this.getChartData().get(0)).add(recordToCandlestick(record));

I place this : this.repaint(true);

But nothing happen.

 

Could you help me please.

Thank you

 

Jérôme Serré

____________________________

Manage your cellar

 <http://www.macave.eu/> http://www.macave.eu

 

 

 

 

Reply via email to