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 1690 - Xamarin.IOS and Xamarin.Forms.iOS Chart events now implement an EventHandler<NSSet>
Summary: Xamarin.IOS and Xamarin.Forms.iOS Chart events now implement an EventHandler<...
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Xamarin.Forms (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-17 06:29 EST by pep jorge
Modified: 2016-11-17 06:30 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 2016-11-17 06:29:56 EST
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! ";
        }