public ChartStyle(ChartCanvas fm1) { form1 = fm1; chartArea = form1.ClientRectangle; chartBackColor = fm1.BackColor; chartBorderColor = fm1.BackColor; tickFont = form1.Font; }