speed of candlestickrenderer

Discussion about JFreeChart related to stockmarket charts.
Locked
uls
Posts: 25
Joined: Fri Oct 17, 2003 10:46 am

speed of candlestickrenderer

Post by uls » Mon Nov 17, 2003 7:01 pm

is there a reason why the candlestick chart is really *horrible* slow? Compared with the other chart types, the candlestick chart type draws not reasonable slow ...

is there any way to improve speed?

tia,
ulrich

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Tue Nov 18, 2003 11:27 am

If you are using a version < 0.9.13, then it could be this:

http://cvs.sourceforge.net/viewcvs.py/j ... 15&r2=1.16
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Jii
Posts: 128
Joined: Thu Apr 21, 2005 11:17 am

Post by Jii » Wed Jun 01, 2005 11:55 am

The candlesticks do indeed seem terribly slow, even in the latest version of JFreeChart.

Jii
Posts: 128
Joined: Thu Apr 21, 2005 11:17 am

Post by Jii » Tue Jun 07, 2005 2:04 pm

Update: Check if you are using the wrong width method for the candles.

WIDTHMETHOD_AVERAGE seems to give pretty good performance, while the other two make for absolutely horrible draw times.

Locked