void FixParent(GridChartControl chart) { if (this.chartControl.Parent != Grid) { this.chartControl.Visible = true; this.chartControl.Location = new Point(10000, 10000); this.chartControl.CausesValidation = false; Grid.Controls.Add(chartControl); this.chartControl.Visible = false; } }
public GridChartCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { chartControl = new GridChartControl(this); }