Display a portion of Fastline series

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
asupriya
Advanced
Posts: 179
Joined: Mon Dec 01, 2008 12:00 am

Display a portion of Fastline series

Post by asupriya » Thu Aug 20, 2009 3:18 am

I need to display only a part of fastline series data and let user scroll to see more. Chart pages is not a solution i am looking for. But something like a zoomed display.

Say for example, my fastline series contains data for a duration of 30 minutes with a data point at every 1/100th of a second (X axis is time and Y axis is some numeric data). By default, i get to display the whole 30-min worth of data on the chart. How can i control this default display such that user sees only the amount of data they configure (for example 5 minute duration). It is similar to zooming the duration of choice, but how i can set this by default at the chart display. Ideally, i like to have it similar to Google finance chart http://www.google.com/finance?chdnp=1&c ... DJI&ntsp=0 where user can adjust initial display of data though entire data is already read-in to the series.

I appreciate if you have a VB.Net example. Thanks

asupriya
Advanced
Posts: 179
Joined: Mon Dec 01, 2008 12:00 am

Re: Display a portion of Fastline series

Post by asupriya » Mon Aug 24, 2009 1:02 pm

Hi,

I am wondering if I can expect some help for this. Its been almost 3 days since I posted and no response yet.

thanks,

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Display a portion of Fastline series

Post by Narcís » Mon Aug 24, 2009 1:49 pm

Hi asupriya,

This has already been discussed here:

http://www.teechart.net/support/viewtop ... 80&p=41366

Can you please try using the solutions suggested above?

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

asupriya
Advanced
Posts: 179
Joined: Mon Dec 01, 2008 12:00 am

Re: Display a portion of Fastline series

Post by asupriya » Tue Aug 25, 2009 12:33 am

This is exactly i am looking for. Thanks alot.

asupriya
Advanced
Posts: 179
Joined: Mon Dec 01, 2008 12:00 am

Re: Display a portion of Fastline series

Post by asupriya » Thu May 13, 2010 6:11 am

Little more advanced ...

How i can modify this code sample so that it works with multiple custom Y-axes that are vertically stacked as shown in the image below. I need to only show the series (and their custom y-axes) that is enclosed by the zoom resizable-rectagletool. If the user resizes the rectangletool, the series (and their custom axes) should also be changed in the zoomed chart.

Each of the curve in below image has a custom vertical axis.
Attachments
5-13-2010 1-09-20 AM.png
Custom Y-axis zoom rectangle
5-13-2010 1-09-20 AM.png (34.73 KiB) Viewed 7754 times

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Display a portion of Fastline series

Post by Yeray » Thu May 13, 2010 11:37 am

Hi asupriya,

Then you should do something similar to the example Narcís suggested in combination to the example here.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply