RegressionTransform Class
Replaces the rows of each series (the Series channel, else the colors) with the points of a polynomial fitted to them by least squares (Regression), across the range of their x values: a trend line when used with a LineMark<T>. The tooltip of each line is its equation. A series with too few points is not drawn.
public sealed class RegressionTransform : Transform- Inheritance
TransformRegressionTransform
Constructors
| Name | Description |
|---|---|
| RegressionTransform() |
RegressionTransform()
RegressionTransform.cspublic RegressionTransform()No documentation is available.
Properties
| Name | Description |
|---|---|
| Degree | Gets or sets the degree of the polynomial: 1 for a straight line (the default), 2 for a parabola. From 0 to 10. |
| Samples | Gets or sets the number of points of each curve. A straight line has 2. The default is 50. |
Degree
RegressionTransform.csGets or sets the degree of the polynomial: 1 for a straight line (the default), 2 for a parabola. From 0 to 10.
public int Degree { get; set; }Samples
RegressionTransform.csGets or sets the number of points of each curve. A straight line has 2. The default is 50.
public int Samples { get; set; }