public /* Interface KGuiControl */ void GuiChartUpdate() { if (!this.InvokeRequired) { KChartHandler.VisibilityRestore(); // this is needed to hide the series in the chart KChartSKControl.SetSize(panel_KChart.Size); KChartSKControl.InvalidateAndUpdate(); } else { this.Invoke((Action) delegate { GuiChartUpdate(); }); } }
private void panel_KChart_SizeChanged(object sender, EventArgs e) { KChartSKControl.SetSize(this.panel_KChart.Size); }