public DrawingView(RectangleF rect) : base(rect) { ContentMode = UIViewContentMode.Redraw; this.AutoresizingMask = UIViewAutoresizing.All; this.BackColor = Color.Wheat; // Set Form1 size: // this.Width = 350; // this.Height = 300; dc = new DataCollection(); cs = new ChartStyle(this); lg = new Legend(); lg.IsLegendVisible = true; lg.LegendPosition = Legend.LegendPositionEnum.NorthWest; cs.IsY2Axis = true; cs.IsXGrid = false; cs.IsYGrid = false; cs.TickFont = new Font("Arial", 7, FontStyle.Regular); cs.TitleFont = new Font("Arial", 10, FontStyle.Regular); cs.XLimMin = 0f; cs.XLimMax = 30f; cs.YLimMin = -20f; cs.YLimMax = 20f; cs.XTick = 5.0f; cs.YTick = 5f; cs.Y2LimMin = 100f; cs.Y2LimMax = 700f; cs.Y2Tick = 100f; cs.XLabel = "X Axis"; cs.YLabel = "Y Axis"; cs.Y2Label = "Y2 Axis"; cs.Title = "With Y2 Axis"; }