Page 1 of 1
Retrieving X,Z values in ColorGrid
Posted: Fri Jul 01, 2005 11:28 am
by 8130102
Is there any way to retrieve X and Z values in a colorGrid according to the current mouse position?
Hope it makes sense
BLP
Posted: Thu Jul 07, 2005 3:41 pm
by narcis
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).
Posted: Mon Jul 11, 2005 7:11 am
by narcis
Hi BLP,
Test debug release, solving this problem, is already available as announced at
http://209.68.2.74/stee/support/modules ... 274c233f5f.