public Chart3D() { InitializeComponent(); this.SetStyle(ControlStyles.ResizeRedraw, true); cs = new ChartStyle(this); cs2d = new ChartStyle2D(this); dc = new DrawChart(this); ds = new DataSeries(); ax = new Axes(this); va = new ViewAngle(this); gd = new Grid(this); cl = new ChartLabels(this); gd.GridStyle.LineColor = Color.LightGray; this.BackColor = Color.White; cm = new ColorMap(); dc.CMap = cm.Jet(); }