Hello,
If this is an issue, I can turn around by changing the title which update chart. However, I would like to manage myself the scales of X-coordinate and Y-coordinate. How can I do? Thank you. Jérôme Serré ____________________________ Manage your cellar <http://www.macave.eu/> http://www.macave.eu De : Jérôme Serré [mailto:[email protected]] Envoyé : samedi 19 novembre 2011 09:56 À : [email protected] Objet : RE: How to refresh a HighLowChartView Ok, I didnt know. It works. Thank you Greg. But there is a but J For the changes to appear on the chart I must "move" by hand. How can I get it to refresh automatically ? Jérôme Serré ____________________________ Manage your cellar <http://www.macave.eu/> http://www.macave.eu De : Greg Brown <mailto:[mailto:[email protected]]> [mailto:[email protected]] Envoyé : vendredi 18 novembre 2011 23:11 À : <mailto:[email protected]> [email protected] Objet : Re: How to refresh a HighLowChartView You can't call any method that will update the UI from a background thread. Most UI toolkits have a similar restriction. On Nov 18, 2011, at 5:03 PM, Jérôme Serré wrote: Correct. In fact in the run method (daemon) I add a Record in a pivot arrayList and my Chart Class (and some others) listen this event : public void itemInserted(List<T> list, int index) { Update ChartData } Ok, I think, I cannot use the event ? Jérôme Serré ____________________________ Manage your cellar http://www.macave.eu <http://www.macave.eu/>
