Is there any way to retrieve X and Z values in a colorGrid according to the current mouse position?
Hope it makes sense
BLP
Retrieving X,Z values in ColorGrid
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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.
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).
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();
}
}
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi BLP,
Test debug release, solving this problem, is already available as announced at http://209.68.2.74/stee/support/modules ... 274c233f5f.
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 |
Instructions - How to post in this forum |