Search found 9 matches

by GeniuZ
Thu Jan 17, 2013 4:52 pm
Forum: JFreeChart
Topic: lousy performance for huge dataset, relying on Jfreechart
Replies: 10
Views: 21279

Re: lousy performance for huge dataset, relying on Jfreechar

Hello, what about this plan?
I plan to add some code to XYPlot to skip the values that are not in view for the chart, but this hasn't been done yet
I have bar chart with hudge of candles and performance is very slow.
by GeniuZ
Thu Jun 11, 2009 12:18 pm
Forum: JFreeChart
Topic: Need setLabelOffset on XYTextAnnotation
Replies: 0
Views: 2363

Need setLabelOffset on XYTextAnnotation

Hello, how can I shift annotation in pixels, not in chart units?
Becouse when zooming, spaces are bigger. I added xOffset and yOffset to XYTextAnnotation class.
Do you plane implement this?
Thank you
by GeniuZ
Wed Jun 10, 2009 3:20 pm
Forum: JFreeChart
Topic: ConcurrentModificationException explained solution
Replies: 1
Views: 2414

Re: ConcurrentModificationException explained solution

Or can I wait for Swing painting finish and in addition suspend/lock Swing engine during realize chart changes?
by GeniuZ
Wed Jun 10, 2009 1:39 pm
Forum: JFreeChart
Topic: ConcurrentModificationException explained solution
Replies: 1
Views: 2414

ConcurrentModificationException explained solution

Hello guys, I found here JFreeChart is not thread safe and I can't modify chart without care for it. But I don't know how to handle it. I have random thread which can modify my chart anytime. I think, I can add "synchronized" field before any chart modification, but I need add it before chart paint ...
by GeniuZ
Wed Jun 10, 2009 12:37 pm
Forum: JFreeChart - Stockmarket
Topic: Dynamic OHLC chart - inserting new bars
Replies: 3
Views: 9400

Re: Dynamic OHLC chart - inserting new bars

I tested OHLCSeriesCollection, it is functional, but loading performace is bad.
You can implement List<DefaultOHLCDataItem> to ie. DefaultListOHLCDataset?
I can send you source code. It is little change and somebody can use it...
by GeniuZ
Wed Jun 10, 2009 12:31 pm
Forum: JFreeChart - Stockmarket
Topic: Candlestick Timeline problem
Replies: 10
Views: 69443

Re: Candlestick Timeline problem

Hello, I have this problem too.
Do you plane increase exceptions performance?
Is it possible add any to source code some "question" to my gap? Will be performace better with this solution?
Thank you.
by GeniuZ
Wed Jun 10, 2009 12:28 pm
Forum: JFreeChart - Stockmarket
Topic: Dynamic OHLC chart - inserting new bars
Replies: 3
Views: 9400

Re: Dynamic OHLC chart - inserting new bars

I use custom DefaultOHLCDataset with added List field.
I will test OHLCSeriesCollection, thank you for help.
by GeniuZ
Wed Jun 10, 2009 12:15 pm
Forum: JFreeChart
Topic: long line decrease performance
Replies: 1
Views: 2333

long line decrease performance

I have minute chart from 2004 till 2009.
When I add XYLineAnnotation from 2004 to 2009, chart performance is very slow.
And with bigger zoom performace is worse.
Do you plane any optimalization? Where in source code I can found line part calculation?
Thank you, Jiri
by GeniuZ
Sun Apr 05, 2009 9:45 am
Forum: JFreeChart - Stockmarket
Topic: Dynamic OHLC chart - inserting new bars
Replies: 3
Views: 9400

Dynamic OHLC chart - inserting new bars

Hello, I can't find how to dynamically add bars to existing OHCL chart?