Results 1 to 2 of 2
  1. #1
    Dcalladi is offline Member
    Join Date
    Oct 2011
    Rep Power

    Default JFreeChart Problems

    I am trying to use JFreeChart to create charts obviously. JFreeChart come with ChartFrame and ChartPanel.
    I have a class to create the chart itself then in another class i have ChartPanel and add that to a normal JPanel this works so far
    by using :

    Java Code:
            ChartPanel chartsPanels = new ChartPanel(charts);
            GroupLayout mainPanelLayout = new GroupLayout(chartPanel);
            GroupLayout.SequentialGroup hGroup = mainPanelLayout.createSequentialGroup();
            GroupLayout.SequentialGroup vGroup = mainPanelLayout.createSequentialGroup();
    my problem is that when i click the button an try to change the chart displaying it won't do anything i can't think it would be about the class that creates the chart it would be the method of displaying.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power

    Default Re: JFreeChart Problems

    it won't do anything i can't think it would be about
    Are you sure the code is executing? If you don't execute it, it won't do anything.

Similar Threads

  1. JFreeChart 1.0.11
    By Java Tip in forum Java Software
    Replies: 3
    Last Post: 04-18-2014, 09:27 PM
  2. JFreeChart 1.0.14
    By java software in forum Java Software
    Replies: 1
    Last Post: 08-10-2012, 08:46 AM
  3. Ask to Jfreechart
    By jin-beom Jeong in forum New To Java
    Replies: 0
    Last Post: 07-23-2011, 09:47 AM
  4. JFreeChart help
    By lowlyintern in forum Advanced Java
    Replies: 8
    Last Post: 06-15-2011, 05:30 PM
  5. Jfreechart
    By aaruviswa in forum Web Frameworks
    Replies: 2
    Last Post: 03-17-2011, 07:51 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts