horizontal and vertical scrollbar

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Neelam
Advanced
Posts: 193
Joined: Fri Jun 08, 2007 12:00 am

horizontal and vertical scrollbar

Post by Neelam » Fri Nov 07, 2008 10:37 am

how to add horizontal and vertical scrollbar to chart? if space is less than we require this feature to see all x axis labels and legend.

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

Post by Narcís » Fri Nov 07, 2008 11:05 am

Hi shikha,

In that case you'll have to use System.Windows.Forms.HScrollBar and System.Windows.Forms.VScrollBar which are standard WinForms components. You'll find an example here.
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

Neelam
Advanced
Posts: 193
Joined: Fri Jun 08, 2007 12:00 am

Post by Neelam » Thu Nov 27, 2008 7:00 am

thanks , but how should i assosiate a horizontal scrollbar with teechart. that is i dragged and drooped it near teechart. but when i scroll the scrollbar in run time teechart does not scroll.?

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

Post by Narcís » Thu Nov 27, 2008 9:35 am

Hi shikha,

Have you looked at the example I pointed you in my previous reply?

http://www.teechart.net/support/viewtopic.php?t=1924

This example shows how to do what you request.
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

Post Reply