Page 1 of 1

tee chart zooming

Posted: Mon Sep 18, 2006 3:38 pm
by 9792366
how to get exact lastvisibleindex value according to selected zooming area on chart

Posted: Mon Sep 18, 2006 4:30 pm
by narcis
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();
		}