Point control selection problem
Posted: Tue Nov 10, 2009 6:36 am
Hello,
I have developed point selection in TChart V3(Dll version is 3.5.3425.20244), it was working fine.
Now i have installed TeeChartNET2009VSNET2005 . Dll version is 4.0.2009.28593
I am facing selection problem with Point series.
I have added Point series and MarksTip tool in TChart control.
Then have added 3 or 4 same data inputs in the point series. If i move mouse on top of those points, it is showing above/top lable. But if i try to get the lable/valueIndex of selected points after clicking on series, its giving the below/bottom point's lable instead of above/top point's lable.
example,
points1.Add(5, 10, "A");
points1.Add(5, 10, "B");
points1.Add(5, 10, "C");
private void tChart1_ClickSeries(object sender, Steema.TeeChart.Styles.Series s, int valueIndex, MouseEventArgs e)
{
//tChart1.Header.Text = points1[valueIndex].Label;
if (points1[valueIndex].Color == selectedCellColor)
points1[valueIndex].Color = Color.Black;
else
points1[valueIndex].Color = selectedCellColor;
}
The above code working fine in TChart dll 3.5.3425.20244. But it is not working in TChart dll 4.0.2009.28593.
How to solve this problem?
With Regards,
Vivek
I have developed point selection in TChart V3(Dll version is 3.5.3425.20244), it was working fine.
Now i have installed TeeChartNET2009VSNET2005 . Dll version is 4.0.2009.28593
I am facing selection problem with Point series.
I have added Point series and MarksTip tool in TChart control.
Then have added 3 or 4 same data inputs in the point series. If i move mouse on top of those points, it is showing above/top lable. But if i try to get the lable/valueIndex of selected points after clicking on series, its giving the below/bottom point's lable instead of above/top point's lable.
example,
points1.Add(5, 10, "A");
points1.Add(5, 10, "B");
points1.Add(5, 10, "C");
private void tChart1_ClickSeries(object sender, Steema.TeeChart.Styles.Series s, int valueIndex, MouseEventArgs e)
{
//tChart1.Header.Text = points1[valueIndex].Label;
if (points1[valueIndex].Color == selectedCellColor)
points1[valueIndex].Color = Color.Black;
else
points1[valueIndex].Color = selectedCellColor;
}
The above code working fine in TChart dll 3.5.3425.20244. But it is not working in TChart dll 4.0.2009.28593.
How to solve this problem?
With Regards,
Vivek