BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
void Button_TouchUpInside(object sender, EventArgs e)
{
Model data = model.Data[2] as Model;
double xvalue = chart.PointForValue(data.XValue, chart.PrimaryAxis);
double yvalue = chart.PointForValue(data.YValue, chart.SecondaryAxis);
trackballBehavior.Show(new CoreGraphics.CGPoint(xvalue, yvalue));
}
|
void Button_TouchUpInside(object sender, EventArgs e)
{
Model data = model.Data[2] as Model;
double xvalue = chart.PointForValue(2,chart.PrimaryAxis);
double yvalue = chart.PointForValue(data.YValue, chart.SecondaryAxis);
trackballBehavior.Show(new CoreGraphics.CGPoint(xvalue, yvalue));
}
|
void Button_TouchUpInside(object sender, EventArgs e)
{
Model data = model.Data[2] as Model;
double xvalue = chart.PointForValue(ToOADate (data.XValue),chart.PrimaryAxis);
double yvalue = chart.PointForValue(data.YValue, chart.SecondaryAxis);
trackballBehavior.Show(new CoreGraphics.CGPoint(xvalue, yvalue));
}
DateTime BaseDate = new DateTime(1899, 12, 30);
public double ToOADate(DateTime time)
{
return time.Subtract(BaseDate).TotalDays;
}
|