Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8754209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:34:27+00:00 2026-06-13T13:34:27+00:00

I am using a ChartPanel from JFreeChart (1.0.14) to display some plots. The Layout

  • 0

I am using a ChartPanel from JFreeChart (1.0.14) to display some plots. The Layout is handled by MigLayout and all works well. However, I have strange behaviour from time to time. The minimal size of the panel changes sometimes when the plots change. I am not setting it in my code but leave everything to MigLayout.

Unfortunately I am unable to reproduce this behaviour in an SSCCE, especially the first S. But in my application it also occurs when I am just changing the renderer to display a thicker line for one of the XYSeries.

So my question:

  • Is it possible that the layout parameters are changed within the code of JFreeChart depending on the displayed content?
  • If so, is it possible to turn off this behaviour? Because I don’t want anything else than MigLayout to lay hands on the layout parameters…
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T13:34:27+00:00Added an answer on June 13, 2026 at 1:34 pm

    Ok, I figured out the problem. My ChartPanel is in a TabbedPane with other tabs. One of those other tabs also contains charts. And one of those charts has a logarithmic range axis. Now I put in data that contained negative values, which can not be displayed logarithmically and the reaction of the axis was to just zoom out in both directions as much as possible. This resulted in extremly long axis labels (0.0000000[..]00001 and 10000[..]0000). This resulted in MigLayout giving more space to this panel and recursively also demanding more space from the tabbed pane. So the tabbed pane grew also for my other tabs.

    Quiet strange and hard to figure out… 😉 Thanks to trashgod for your willingness to help. 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using GWT api for google charts and having some issues: colums from
Using Java,I have to fetch multiple sets of values from an XML file to
I have created the sheet1 and populated some data in the sheet, using the
I have a time series data which I can draw using jfreechart. the issue
I have a panel using the card layout as follows: var cardpanel = new
I'm using the JFreeChart library and created a chartPanel with chartMouseListener . What is
Using the Redis info command, I am able to get all the stats of
I am new to using JFreeChart and I'm sure there is a simple solution
Using following mysql query: SELECT DATE_FORMAT(time, '%Y-%m-%d') AS time,report,count(ip) AS countip FROM asn_data WHERE
Im using netbeans gui editor and im trying to add a Jfreechart that is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.