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 & .Net Compact Framework
 Real-Time Graphics Tools for .Net (VB and C#)
 scroll chart
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

carlao

54 Posts

Posted - 13 Mar 2005 :  12:29:50  Show Profile  Reply with Quote
You have an example named ScrollingGroupPlotUserControl where 4 channels are scrolled together. I need to do something similar but the scroll will be done by the user using some buttons or even a scroll bar control. That is, the user has a history range where he can shift forward or backward using buttons. I was studying the example code and figured out that the graph functions only scroll using a new value, even in the example where the chart move to right. Is there a way where the user can move the chart in a way to see a complete data range?
Thanks.

quinncurtis

1164 Posts

Posted - 14 Mar 2005 :  09:01:40  Show Profile  Reply with Quote
Sounds like all you need to do is rescale the x-axis in response to a scrollbar event. This is easily done using the just the .SetScaleStartX and .SetScaleStopX methods of the coordinate system. See question #18 "How to I use a ScrollBar object to control horizontal scrolling of the data in my chart?" of the QCChart2D FAQ's,

http://www.quinn-curtis.com/QCChart2DFAQs.htm#FAQ%2018.

See the QCChart2D examples OHLCFinPlot (first tab under the Financial tab) and LinePlotScrollBar (first tab under the Components tab) in the ChartTabDemo example program.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07