Is this type of chart possible?

Discussion about JFreeChart related to stockmarket charts.
Locked
-RenE-
Posts: 2
Joined: Fri Feb 10, 2006 12:31 pm

Is this type of chart possible?

Post by -RenE- » Fri Feb 10, 2006 1:00 pm

I would like to build a graph that consists of a candlestick graph, with an added horizontal bar plot of the order book volumes. See the example below (Eurex DAX future)


Image

Is this possible with JFreeChart? And, if so, could anybody give me some pointers (or maybe even some source code) to do this?

Thanks!

René

Guest

Post by Guest » Mon Feb 13, 2006 2:41 pm

I assume that the red/green bars are the size of bid/ask at different levels in the order book. If so, I guess that you would need to update these very frequently (several times a second) if they are to be any use. You won't be able to repaint the whole chart this freqently without killing PC performance. You would probably have to paint them in some custom code.

-RenE-
Posts: 2
Joined: Fri Feb 10, 2006 12:31 pm

Post by -RenE- » Wed Feb 15, 2006 12:24 pm

Thanks for your reaction.

Indeed, the horizontal bars will have to be updated very often (at every tick).

I am not a Java guru. So would it be difficult to implement the code myself? Or, is there another library that is more suitable for this kind of charts?

Locked