public MyMarkerView(XuniChartLineMarker marker) : base(marker) { Marker = marker; BackgroundColor = UIColor.Clear; Frame = new CGRect(0, 0, 90, 30); lblToday = new UILabel(new CGRect(5, 5, 80, 20)); lblToday.TextColor = UIColor.White; lblToday.BackgroundColor = UIColor.Clear; lblToday.Font = UIFont.SystemFontOfSize(10); AddSubview(lblToday); }
public MyMarkerView(XuniChartLineMarker marker):base(marker) { Marker = marker; BackgroundColor = UIColor.FromWhiteAlpha(0.8f, 0.6f); Frame = new CGRect(0, 0, 110, 60); Content = new UILabel(); Content.Frame = new CGRect(5, 5, 100, 50); Content.BackgroundColor = UIColor.Clear; Content.Font = UIFont.SystemFontOfSize(10); AddSubview(Content); }
public MyMarkerView(XuniChartLineMarker marker) : base(marker) { Marker = marker; BackgroundColor = UIColor.FromWhiteAlpha(0.8f, 0.6f); Frame = new CGRect(0, 0, 110, 60); Content = new UILabel(); Content.Frame = new CGRect(5, 5, 100, 50); Content.BackgroundColor = UIColor.Clear; Content.Font = UIFont.SystemFontOfSize(10); AddSubview(Content); }