private void updateSpreadChart(double period1, double period2) { SpreadChart.Clear(); SpreadChart.Plot((period1, period2)); }