JFreeChart create a graph within a Java GUI in a panel?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AlarV
    New Member
    • Dec 2008
    • 37

    JFreeChart create a graph within a Java GUI in a panel?

    Hey everyone,
    I'm trying to create a java project that has some charts and stuff. I'm using JFreeChart cause it's open-source and I'm stuck for like a week with this problem:

    I want to create charts within a java GUI and put wherever I want INSIDE the JFrame. In a panel or something like this. Every tutorial and example I've checked creates a panel,adds the charts in this panel, then creates a frame and sets the content of it with this code: setContentPane( panel);

    If anyone knows anything plz help.

    Thanks in advance!
Working...