Example #1
0
 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(); });
     }
 }
Example #2
0
 private void panel_KChart_SizeChanged(object sender, EventArgs e)
 {
     KChartSKControl.SetSize(this.panel_KChart.Size);
 }