Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2400 - NearestTool_Change event is not fired since version 4.2020.9.28
Summary: NearestTool_Change event is not fired since version 4.2020.9.28
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Xamarin.Forms (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-27 14:13 EST by pep jorge
Modified: 2021-02-17 16:15 EST (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pep jorge 2021-01-27 14:13:05 EST
NearestTool_Change event is not fired since version 4.2020.9.28
To reproduce, just open the github demo at :
https://github.com/Steema/teechart-xamarin-forms-samples/tree/master/NearestPointTool

and check.

As requested by a customer :

Also, it would be very helpful if the new point/index can be passed via the event args in the EventHandler, such as:


	public class NearestPointEventArgs : EventArgs
	{
		public int Point { get; set; }

		public NearestPointEventArgs() { }
		public NearestPointEventArgs( int point )
		{
			Point = point;
		}
	}

Then the updated NearestPoint class would be:


	public class NearestPoint : ToolSeries
	{
		...
		public event EventHandler<NearestPointEventArgs> Change;
		...
	}
Comment 1 pep jorge 2021-02-17 16:15:50 EST
Fixed, and Point index has been added to the eventargs.
Will be available for the next maintenance release v4.2021.2.18