public void AddRegression(Regression regression) { var set = new Dataset(regression.GetRegressionLine()); var series = new DataSeries(Highchart.Regression, set, "Regression line"); series.SetMarker(false); _chart.AddDataSeries(series); }
public IEnumerable <GenericVector> GetRegressionLine() { return(_regression.GetRegressionLine()); }