|
VectSharp 2.6.1
A light library for C# vector graphics
|
A plot element that draws an exponential trendline with equation y = b * Exp(a * x).
More...

Public Member Functions | |||
| ExponentialTrendLine (double slope, double intercept, double minX, double minY, double maxX, double maxY, IContinuousCoordinateSystem coordinateSystem) | |||
| Create a new ExponentialTrendLine instance, specifying the equation parameters. More... | |||
| ExponentialTrendLine (IReadOnlyList< IReadOnlyList< double > > data, IContinuousCoordinateSystem coordinateSystem, double? fixedIntercept=null) | |||
| Create a new ExponentialTrendLine instance, determining the equation parameters by running a regression. More... | |||
| ExponentialTrendLine (IReadOnlyList<(double, double)> data, IContinuousCoordinateSystem coordinateSystem, double? fixedIntercept=null) | |||
| Create a new ExponentialTrendLine instance, determining the equation parameters by running a regression. More... | |||
| void | Plot (Graphics target) | ||
Draw the plot element on the specified target  Graphics.
| |||
| void | Plot (Graphics target) | ||
| Draw the plot element on the specified target  Graphics. More... | |||
Properties | |
| double | Slope [get, set] |
| The slope of the trendline (a). More... | |
| double | Intercept [get, set] |
| The intercept of the trendline (b). More... | |
| double | MinX [get, set] |
| The minimum X value for which the trendline is plotted. More... | |
| double | MinY [get, set] |
| The minimum Y value for which the trendline is plotted. More... | |
| double | MaxX [get, set] |
| The maximum X value for which the trendline is plotted. More... | |
| double | MaxY [get, set] |
| The maximum Y value for which the trendline is plotted. More... | |
| PlotElementPresentationAttributes | PresentationAttributes = new PlotElementPresentationAttributes() { LineDash = new LineDash(5, 5, 0), Stroke = Colour.FromRgb(180, 180, 180) } [get, set] |
| Presentation attributes for the trendline. More... | |
| string | Tag [get, set] |
| A tag to identify the trendline in the plot. More... | |
| IContinuousCoordinateSystem | CoordinateSystem [get, set] |
| The coordinate system used to transform the points from data space to plot space. More... | |
Properties inherited from VectSharp.Plots.IPlotElement | |
| ICoordinateSystem | CoordinateSystem [get] |
| The coordinate system used to transform the points from data space to plot space. More... | |
A plot element that draws an exponential trendline with equation y = b * Exp(a * x).
Definition at line 256 of file Trendlines.cs.
| VectSharp.Plots.ExponentialTrendLine.ExponentialTrendLine | ( | double | slope, |
| double | intercept, | ||
| double | minX, | ||
| double | minY, | ||
| double | maxX, | ||
| double | maxY, | ||
| IContinuousCoordinateSystem | coordinateSystem | ||
| ) |
Create a new ExponentialTrendLine instance, specifying the equation parameters.
| slope | The slope of the trendline (a). |
| intercept | The intercept of the trendline (b). |
| minX | The minimum X value for which the trendline is plotted. |
| minY | The minimum Y value for which the trendline is plotted. |
| maxX | The maximum X value for which the trendline is plotted. |
| maxY | The maximum Y value for which the trendline is plotted. |
| coordinateSystem | The coordinate system used to transform the points from data space to plot space. |
Definition at line 314 of file Trendlines.cs.
| VectSharp.Plots.ExponentialTrendLine.ExponentialTrendLine | ( | IReadOnlyList< IReadOnlyList< double > > | data, |
| IContinuousCoordinateSystem | coordinateSystem, | ||
| double? | fixedIntercept = null |
||
| ) |
Create a new ExponentialTrendLine instance, determining the equation parameters by running a regression.
| data | The data that will be used to determine the equation parameters. |
| coordinateSystem | The coordinate system used to transform the points from data space to plot space. |
| fixedIntercept | If this is null, the intercept (b) is determined during the regression; otherwise, it is fixed to the specified value. |
Definition at line 331 of file Trendlines.cs.
| VectSharp.Plots.ExponentialTrendLine.ExponentialTrendLine | ( | IReadOnlyList<(double, double)> | data, |
| IContinuousCoordinateSystem | coordinateSystem, | ||
| double? | fixedIntercept = null |
||
| ) |
Create a new ExponentialTrendLine instance, determining the equation parameters by running a regression.
| data | The data that will be used to determine the equation parameters. |
| coordinateSystem | The coordinate system used to transform the points from data space to plot space. |
| fixedIntercept | If this is null, the intercept (b) is determined during the regression; otherwise, it is fixed to the specified value. |
Definition at line 385 of file Trendlines.cs.
| void VectSharp.Plots.ExponentialTrendLine.Plot | ( | Graphics | target | ) |
Draw the plot element on the specified target  Graphics.
| target | The Graphics on which to draw. |
Implements VectSharp.Plots.IPlotElement.
Definition at line 388 of file Trendlines.cs.
|
getset |
The coordinate system used to transform the points from data space to plot space.
Implements VectSharp.Plots.IPlotElement.
Definition at line 301 of file Trendlines.cs.
|
getset |
The intercept of the trendline (b).
Definition at line 266 of file Trendlines.cs.
|
getset |
The maximum X value for which the trendline is plotted.
Definition at line 281 of file Trendlines.cs.
|
getset |
The maximum Y value for which the trendline is plotted.
Definition at line 286 of file Trendlines.cs.
|
getset |
The minimum X value for which the trendline is plotted.
Definition at line 271 of file Trendlines.cs.
|
getset |
The minimum Y value for which the trendline is plotted.
Definition at line 276 of file Trendlines.cs.
|
getset |
Presentation attributes for the trendline.
Definition at line 291 of file Trendlines.cs.
|
getset |
The slope of the trendline (a).
Definition at line 261 of file Trendlines.cs.
|
getset |
A tag to identify the trendline in the plot.
Definition at line 296 of file Trendlines.cs.