Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Microsoft .Net
 Real-Time Graphics Tools for .Net (VB and C#)
 Scroll Frame Extent

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
findejs Posted - 30 Jan 2006 : 13:40:25
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.
2   L A T E S T    R E P L I E S    (Newest First)
findejs Posted - 18 Apr 2006 : 13:08:34
I noticed that you added new property FrameExtent to the RTScrollFrame class in version QC 1.6.
Thanks a lot.
quinncurtis Posted - 30 Jan 2006 : 15:45:24
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.

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