Java Beans control with Price Bars

insight2

Member
Messages
75
Likes
3
Has anybody seen a Java Beans ready made control that can display financial price / volume data in a bar chart format?

cheers, dejan
 
There is JFreeChart library which is pretty good:

www.jfree.org

I haven't used the associated Orson Chart Beans, but if they are of the same quality as the jfreechart API I expect they will be good too.
 
Thanks dcraig1.

It is so pathetic that all this young guys are killing a 6 months or a whole year to write the APIs for scientific charting and that has been covered ten times over. But not a single one had a brainwave to write a simple Financial charts suite. And financial clients pay 10x more than scientific. So wasteful and so silly.
 
Thanks dcraig1.

It is so pathetic that all this young guys are killing a 6 months or a whole year to write the APIs for scientific charting and that has been covered ten times over. But not a single one had a brainwave to write a simple Financial charts suite. And financial clients pay 10x more than scientific. So wasteful and so silly.

You can do financial charts with JFreeChart. Here is an example (from my own code that uses JFreeChart API). The candle rendering is a bit off on this chart, but perfect on screen. Anti-aliasing is turned off for performance reasons.

The data point renderers are completely plugable in JFreeChart, which allows a great deal of flexibility in getting the look you want.

There are no MA's, indicators and so on in JFreeChart. You can roll your own, or use one of the free libraries available on the web, and wrap the resultant time series in the appropriate JFreeChart dataset interfaces.
 

Attachments

  • dax_250_levels.png
    dax_250_levels.png
    22 KB · Views: 353
Last edited:
oh, thanks for the clarification, the examples on their web page only show line connecting Close price.

Can you please tell me, weather they have the standard plain OHLC bars, instead of the candlesticks. Candle sticks, kind off, distract me.
 
oh, thanks for the clarification, the examples on their web page only show line connecting Close price.

Can you please tell me, weather they have the standard plain OHLC bars, instead of the candlesticks. Candle sticks, kind off, distract me.

Yes, they have plain OHLC bars, you just choose the standard OHLC bar data point renderer. You can even write your own renderer if you like - I have done so (to generate market delta type charts). It's all open source, so you can use existing renderers as an example or starting point if you wish.
 
Top