CategoryPlot -- single domain value

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Ted Hill
Posts: 54
Joined: Mon Jun 12, 2006 7:39 pm

CategoryPlot -- single domain value

Post by Ted Hill » Wed Jan 27, 2010 10:51 pm

Hello,

I have a category plot which sometimes only has a single domain value.

When this happens, the domain axis label appears as "..." instead of "1"

I'm guessing that this is because the single value results in a "very thin" data area which is too narrow to display the label.

Is there someway to set a minimum width in a case like this?

Thanks,
Ted Hill

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: CategoryPlot -- single domain value

Post by david.gilbert » Mon Feb 01, 2010 11:28 pm

That sounds odd...I couldn't reproduce it, though, so if you have a small self-contained demo that shows the problem, it will help a lot.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked