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

Summary: NearestTool_Change event is not fired since version 4.2020.9.28
Product: .NET TeeChart Reporter: pep jorge <pep>
Component: Xamarin.FormsAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: major    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

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