Search found 22 matches

by amarnath578
Thu Aug 27, 2009 3:34 pm
Forum: JFreeChart
Topic: Does JFreeChart has this functionality?
Replies: 1
Views: 1658

Does JFreeChart has this functionality?

Hi Everyone, I am currently working on developing a charting framework for a trading product (Mostly the domain axis is Time and the range axis varies among Price, Volume or any other indicators). One of the major requirements requires me to display several charts as a time in the Chart Panel (this ...
by amarnath578
Thu Aug 27, 2009 3:21 pm
Forum: JFreeChart
Topic: Rendering issues with JFreeChart and JComboBox
Replies: 12
Views: 10601

Re: Rendering issues with JFreeChart and JComboBox

Hi Shunk, Your observation is absolutely right, but not always. I see that sometimes it does not even display the pop up menu on right clicking the chart.... I did not consider this issue as major as the popup appears 90% of the time as expected. Again, I have no clue why this happens provided that ...
by amarnath578
Wed Aug 26, 2009 6:17 pm
Forum: JFreeChart
Topic: Rendering issues with JFreeChart and JComboBox
Replies: 12
Views: 10601

Re: Rendering issues with JFreeChart and JComboBox

You are right. But I do not want to draw my chart every milli second.... so I have this condition of updating the chart only once in a selected time period.... Do you mean you see any problems with the code I sent you? I still did not understand why the Combo Box is not behaving as it has to..... Be...
by amarnath578
Wed Aug 26, 2009 3:23 pm
Forum: JFreeChart
Topic: Rendering issues with JFreeChart and JComboBox
Replies: 12
Views: 10601

Re: Rendering issues with JFreeChart and JComboBox

Hi Shunk, I did make sure that all the updates are done on EDT, but I still see the same problem. I am just making sure that the whole update is happening on EDT as listed below: SwingUtilities.invokeLater(new Runnable() { public void run() { fireMarketDataUpdated(transaction); } }); long timeNow = ...
by amarnath578
Wed Aug 26, 2009 2:15 pm
Forum: JFreeChart
Topic: Rendering issues with JFreeChart and JComboBox
Replies: 12
Views: 10601

Re: Rendering issues with JFreeChart and JComboBox

Thanks for the reply. I am in the process of making sure that all the updates to the data sets are happening on EDT. Please let me know if you think any other issue can cause this sort of behavior.

However, I see this rendering problem even if the dataset does not change.
by amarnath578
Tue Aug 25, 2009 11:00 pm
Forum: JFreeChart
Topic: Rendering issues with JFreeChart and JComboBox
Replies: 12
Views: 10601

Re: Rendering issues with JFreeChart and JComboBox

Hi Shunk, Thanks for the quick response. I am positive that all the updates that I do are done on the Event Dispatch Thread because I am not instantiating any new threads to update the chart on listening to the changes to the XYDataSet. I am updating the Chart only from the callback methods which ar...
by amarnath578
Tue Aug 25, 2009 8:16 pm
Forum: JFreeChart
Topic: Rendering issues with JFreeChart and JComboBox
Replies: 12
Views: 10601

Rendering issues with JFreeChart and JComboBox

Hi, I have come across a strange problem today while working on plotting the candlestick charts on a frame. Before getting into the description of the problem, let me explain you the layout of the Frame on which I am plotting. I am using a Frame with BorderLayout on it. The NORTH side of the frame h...