Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Java
 QCRTGraph for Java
 Y Auto Scaling
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

chippr

16 Posts

Posted - 12 Aug 2008 :  09:21:43  Show Profile  Reply with Quote
I've taken the beating heart plot from the polygraph example and changed the Y scale mode to RT_AUTOSCALE_Y_MAX. It takes about a minute or more before it changes the scale eventhough one of the first points is off the chart. I've obviously changed the way the data is created to induce the need for autoscaling.

Thanks

quinncurtis

1558 Posts

Posted - 12 Aug 2008 :  10:52:40  Show Profile  Reply with Quote
Call the scroll frames setMinSamplesForAutoScale with whatever value you want. The default value is 100.

Go to Top of Page

chippr

16 Posts

Posted - 12 Aug 2008 :  10:59:36  Show Profile  Reply with Quote
Thanks,

I just figured out that the default was 100 and was looking for how to
change it...

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07