async Task ShowTrackball()
        {
            Task.Delay(1000).Wait();

            trackballBehavior1.Show(chart.ValueToPoint(chart.PrimaryAxis, new DateTime(2000, 9, 14).ToOADate()), chart.ValueToPoint(chart.SecondaryAxis, 55));
            trackballBehavior2.Show(chart.ValueToPoint(chart.PrimaryAxis, new DateTime(2005, 2, 11).ToOADate()), chart.ValueToPoint(chart.SecondaryAxis, 60));
        }
Ejemplo n.º 2
0
        public override void ViewDidAppear(bool animated)
        {
            base.ViewDidAppear(animated);

            trackballBehavior1.Show(new CGPoint(chart.PointForValue(new DateTime(2000, 9, 14).ToOADate(), chart.PrimaryAxis), chart.PointForValue(55, chart.SecondaryAxis)));
            trackballBehavior2.Show(new CGPoint(chart.PointForValue(new DateTime(2005, 2, 11).ToOADate(), chart.PrimaryAxis), chart.PointForValue(60, chart.SecondaryAxis)));
        }