Steema.TeeChart.Tools.NearestPoint Change event doesn't trigger
Posted: Tue Oct 29, 2024 6:59 pm
Steema.TeeChart.Tools.NearestPoint Change event doesn't trigger because the kind parameter is never MouseEventKinds.Move. I clicked and dragged on the chart but it never triggered. Only the down and up events fired.
Also please change the Change event signature from to or where the int parameter is the current point index.
Code: Select all
protected internal override void MouseEvent( MouseEventKinds kind, MouseEventArgs e, ref Cursor c)
{
if (kind != MouseEventKinds.Move || this._iSeries == null)
return;
Code: Select all
public event EventHandler Change;
Code: Select all
public event EventHandler<int> Change;
Code: Select all
public event Action<int> Change;