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)
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é
Is this type of chart possible?
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.