![]() | Steema Issues DatabaseNote: 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. |
| Summary: | Xamarin.IOS and Xamarin.Forms.iOS Chart events now implement an EventHandler<NSSet> | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | pep jorge <pep> |
| Component: | Xamarin.Forms | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
Xamarin.IOS and Xamarin.Forms.iOS Chart events now implement an EventHandler<NSSet> public event EventHandler<NSSet> ClickAxis; public event EventHandler<NSSet> ClickBackground; public event EventHandler<NSSet> ClickTitle; public event EventHandler<NSSet> ClickLegend; Now these are corectly fired on both (Xamarin.Forms.iOS and Xamarin.iOS). This way (using NSSet) we get all control over the touches, i.e : private void Chart_ClickLegend(object sender, NSSet e) { // e are "touches" var touch = touches.AnyObject as UITouch; var locInView = touch.LocationInView(touch.View); // Point Chart.Header.Text = "Legend clicked! "; }