axis changed

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
maexchen
Posts: 15
Joined: Tue Nov 21, 2006 10:16 am

axis changed

Post by maexchen » Thu May 17, 2007 5:26 pm

Hello!
When my axis Range is [10.0, 20.0] and I want to change it to [0.0, 10.0] its not possible. The range is [10.0, 20.0] then.

I have a CombinedDomainXYPlot and set the axis range:

Code: Select all

 ValueAxis axis = xyplot[0].getDomainAxis();              
                xMinMax[0] = (0);
                xMinMax[1] = (10);
                axis.setLowerBound(xMinMax[0]);
                axis.setUpperBound(xMinMax[1]);
Whats the problem??

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

Post by david.gilbert » Thu May 17, 2007 5:30 pm

I can't tell. Can you post a small self-contained demo that reproduces the problem?
David Gilbert
JFreeChart Project Leader

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

Locked