tee chart zooming

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Vikas Aggarwal
Newbie
Newbie
Posts: 14
Joined: Thu Aug 31, 2006 12:00 am

tee chart zooming

Post by Vikas Aggarwal » Mon Sep 18, 2006 3:38 pm

how to get exact lastvisibleindex value according to selected zooming area on chart

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

Post by Narcís » Mon Sep 18, 2006 4:30 pm

Hi Vikas,

You can try doing something like this:

Code: Select all

		private void Button1_Click(object sender, System.EventArgs e)
		{
			Steema.TeeChart.Chart ch1=WebChart1.Chart;

			Label1.Text = ch1[0].FirstDisplayedIndex().ToString();
			Label2.Text = (ch1[0].LastVisibleIndex-1).ToString();
		}
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