18 March 2009

JFreeChart integration inside Oracle Forms


For the java bean contest I integrated JFreeChart inside Oracle Forms. In the Oracle Form above I have put the JFreeChart project as a java bean. More info about the bean can be found at: http://sites.google.com/site/oraont/jchart-en.

7 reacties:

  1. Mark, I want to thank you for this implementation. Years ago I asked Francois if he would be interested implementing JFreeCharts in Forms instead of FormsGraph.jar that Frank posted on OTN in 2005 (and I don't think improved since then or replaced/updated on OTN). I did implement what I got from OTN. I am not a java programmer but as a forms developer and a DBA, I was able to implement a PJC in the form for the charts. I will revisit my chart PJC's and will probably replace with your implementation.
    Thank you again and best regards
    Zafer

    ReplyDelete
  2. Zafer,

    JFreeCharts offers still more options. I only implemented the pie and bar chart. I didn't demo it, but the bar chart also has the possibility to draw bar for different groups. You can see it in the example http://www.jfree.org/jfreechart/images/DualAxisDemo1.png

    Regards,
    Mark

    ReplyDelete
  3. Hi Mark,

    I'm implementing your bean in my forms and for simple graphs, it's working great. I was wondering if you weren't in the mood to maybe implement some complex graphs too, like overlayed columns.
    Or maybe you could just tell me how do i do the graph that you posted on the post before?
    Thanks You

    ReplyDelete
  4. Hi Ugo,

    The java sources are available at the URL http://sites.google.com/site/oraont/jchart-en so you can enhance the demo. I have to take a look again at the demo and the example, it has been a while ago that I wrote this bean.

    Regards,

    Mark

    ReplyDelete
  5. I am aware of that Mark, thank you. I tried to enhance your demo but i don't have any java knowledge. Wich is why i love your integration with oracle forms. If you could improve your demo with a bit more complex graphics, i would be very greatful. Think about it...

    ReplyDelete
  6. Hi mark,

    sorry to be bothering again, but i'm just missing one thing from your graphs... Is there a way to change the labels of the axis? Now it's always "value" and "category". I would like to change it. Thank You.

    ReplyDelete
  7. It is now hardcoded inside the java code. It can be changed but it will need some rework of the code.

    ReplyDelete