difficult click POINT3D, when it rotated
Posted: Wed Apr 28, 2010 1:33 pm
have chart with serieses POINT3D. event CLICK not always work, when chart rotate with some angle. and if event works, ScreenPointToValuePoint return wrong PointDouble, value X, Y deffer from real value of CLICKED POINT on series
what do i wrong action?
Code: Select all
private void points3D_Click(object sender, MouseEventArgs e)
{
Steema.TeeChart.Styles.Points3D points3D = sender as Steema.TeeChart.Styles.Points3D;
Steema.TeeChart.Drawing.PointDouble pd = points3D.ScreenPointToValuePoint(e.X, e.Y);
}