public void Setgrid() { ChartGrid grid = new ChartGrid (this.Chart ); grid.GridClass = "major"; this.Content .Add (grid); }