Page 1 of 1

Steema.TeeChart.Tools.NearestPoint Change event doesn't trigger

Posted: Tue Oct 29, 2024 6:59 pm
by 18286055
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.

Code: Select all

    protected internal override void MouseEvent( MouseEventKinds kind, MouseEventArgs e, ref Cursor c)
    {
      if (kind != MouseEventKinds.Move || this._iSeries == null)
        return;
Also please change the Change event signature from

Code: Select all

    public event EventHandler Change;
to

Code: Select all

    public event EventHandler<int> Change;
or

Code: Select all

    public event Action<int> Change;
where the int parameter is the current point index.
Visual Studio 2022 versions.7z
(2.83 KiB) Downloaded 84 times

Re: Steema.TeeChart.Tools.NearestPoint Change event doesn't trigger

Posted: Mon Nov 04, 2024 8:52 am
by Marc
Hello,

Apologies for the delay with this reply, we are investigating and will apply a fix for the next update and are checking if any temporary workaround is possible.

Regards,
Marc Meumann

Re: Steema.TeeChart.Tools.NearestPoint Change event doesn't trigger

Posted: Mon Nov 04, 2024 9:22 am
by Marc
...this has been checked for desktop versions (no problems found) but now notice from other posts you have made, that this issue may be related to Xamarin. Is that correct? ..or MAUI? I see your attached file includes Xamarin installation to the IDE.

With thanks.
Regards,
Marc