Retrieving X,Z values in ColorGrid

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
BLP
Newbie
Newbie
Posts: 2
Joined: Tue Jun 07, 2005 4:00 am

Retrieving X,Z values in ColorGrid

Post by BLP » Fri Jul 01, 2005 11:28 am

Is there any way to retrieve X and Z values in a colorGrid according to the current mouse position?

Hope it makes sense :)

BLP

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 Jul 07, 2005 3:41 pm

Hi BLP,

ColorGrid series don't work much well in that aspect and this is not possible with current TeeChart for .NET versions. However we are working on improving this and next TeeChart for .NET v2 maintenance release already has been improved to work with code like the snippet below which does what you request.

Code: Select all

		private void tChart1_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e)
		{
			int Index=colorGrid1.Clicked(e.X,e.Y);

			if (Index != -1)
			{
				tChart1.Header.Text=colorGrid1.XValues.Value[Index].ToString()+", "+
														colorGrid1.ZValues.Value[Index].ToString();
			}
		}
We expect to make a standard maintenance release available within the next 2 weeks. In addition we will start to publish pre-release debug builds, suitable for test purposes only, at more regular intervals. The first pre-release debug build will be made available before the end of this week (tomorrow).
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

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 Jul 11, 2005 7:11 am

Hi BLP,

Test debug release, solving this problem, is already available as announced at http://209.68.2.74/stee/support/modules ... 274c233f5f.
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