Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Java
 QCRTGraph for Java
 Y Auto Scale to multiple plots

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
margonz Posted - 30 Apr 2012 : 16:30:13
Hello, I have been plotting multiple plots on one graph and have RT_AUTOSCALE_Y_MINMAX set for all the RTScrollFrame's, but it seems as though it only autoscales for the last RTScrollFrame that was added. That is, if the ranges are vastly different I only see the one plot until the values are in the same range as the one being auto scaled.
I also tried doing one RTScrollFrame with multiple RTProcessVar's but that autoscaled to the first RTProcessVar being added.
2   L A T E S T    R E P L I E S    (Newest First)
margonz Posted - 01 May 2012 : 10:28:47
Ahhh.. Thanks for your reply. I was missing the call to _scrollFrame.addProcessVar(..); for the additional process var's. Thanks, it works fine now.
quinncurtis Posted - 30 Apr 2012 : 16:50:44
We can't reproduce either problem. Which method you use depends on whether or not you have one, or multiple independent coordinate systems you want auto-scaled.

If you have one coordinate system you want to auto-scale to two or more RTProcessVar objects, you use the method found in the example program ScrollApplication1.

If you have two or more overlapping, independent coordinate systems you want to auto-scale to respective RTProcessVar objects, you use the method found in the example program RTStockDisplay example program, where the top graph has two, independent coordinate systems.

Run both examples and verify that they seem to auto-scale properly.

If you cannot solve the program, see if you can reproduce the problem with a simple modification to one of our examples. If you can't do that you will need to supply us with the source to the simplest possible example program which reproduces the problem.



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