Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Java
 QCChart3D for Java
 controlling the plot scale

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

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);

Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07