pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jérôme Serré <jerome.michel.se...@gmail.com>
Subject RE: How to refresh a HighLowChartView
Date Fri, 18 Nov 2011 18:25:51 GMT
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:gk_brown@verizon.net] 
Envoyé : vendredi 18 novembre 2011 17:42
À : user@pivot.apache.org
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:gk_brown@verizon.net] 
Envoyé : vendredi 18 novembre 2011 16:55
À : user@pivot.apache.org
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

 

 

 

 


Mime
View raw message