T O P I C R E V I E W |
Peter |
Posted - 23 Jun 2010 : 13:52:26 I've got a SimpleBarPlot whose dataset range on the X-Axis goes from 2010 to 2041.
With little configuration, the plot area defaulted to an x scale from 2010 to 2050. I'd like to force it to 2010 to 2042.
I was able to set the (LinearAxis) xAxis limits and that worked but the plot area itself is still sized for 2010 to 2050 so I have empty space on the right end of the plot.
I'm not seeing a method I can call to configure the plot area to the 2010 to 2042 range. I'm sure I'm missing something...
|
2 L A T E S T R E P L I E S (Newest First) |
Peter |
Posted - 23 Jun 2010 : 15:48:14 Bingo!
Thanks, you guys are great!
|
quinncurtis |
Posted - 23 Jun 2010 : 15:45:28 I think you are refering to the plot area scale, not its size. There are CartesianCoordinate method calls to set the start and ending values for the x- and y- scales.
pTransform1.setScaleStartX(2010); pTransform1.setScaleStopX(2042); pTransform1.setScaleStartY(0); pTransform1.setScaleStopY(250); |