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 Microsoft .Net
 Real-Time Graphics Tools for .Net (VB and C#)
 Scroll Frame Extent
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

findejs

12 Posts

Posted - 30 Jan 2006 :  13:40:25  Show Profile  Reply with Quote
Hello,
I'm using the scrolling plot with auto scroll with fixed extent for displaying predicted trajectories:
m_TransPred = new TimeCoordinates(new ChartCalendar(DateTime.Now), 0.0,
new ChartCalendar(DateTime.Now.AddMinutes(1)), 150000.0);
m_FramePred = new RTScrollFrame(m_ucChartView, m_TransPred,
ChartObj.RT_FIXEDEXTENT_MOVINGSTART_AUTOSCROLL);
Trend line is displayed and updated as expected, but I cannot find a way how to change extent of scroll frame. I tried several methods (RescaleFrame(,,,), SetScaleStartX/Y() + RescaleAxisToCurrentTransform(), ...) but the time span always remained 1 minute. Interestingly, when I change private RTScrollFrame property frameExtent in debuger the scroll frame does exactly what I'm expecting. Is it possible to change the extent by calling public methods/properties of RTScrollFrame class?
Thank you.

quinncurtis

1586 Posts

Posted - 30 Jan 2006 :  15:45:24  Show Profile  Reply with Quote
The frameExtent is a local variable to the RTScrollFrame class and is not public. We don't see any way to changed it using properties. We do not know if changing it arbitrarily like you are doing with the debugger will have adverse effects in other modes.

Your best bet is that if you need to change the extent the RTScrollFrame, just clean the entire ChartView (using the ChartView ResetChartObjectList) and re-make the graph, initializing the RTScrollFrame with the new coordinate system that you want to use.
Go to Top of Page

findejs

12 Posts

Posted - 18 Apr 2006 :  13:08:34  Show Profile  Reply with Quote
I noticed that you added new property FrameExtent to the RTScrollFrame class in version QC 1.6.
Thanks a lot.
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