| 
    VectSharp 2.6.1
    
   A light library for C# vector graphics 
   | 
 
A plot element that draws a power law trendline with equation y = b * x^a.   
 More...

Public Member Functions | |||
| PowerLawTrendLine (double slope, double intercept, double minX, double minY, double maxX, double maxY, IContinuousCoordinateSystem coordinateSystem) | |||
| Create a new PowerLawTrendLine instance, specifying the equation parameters.   More... | |||
| PowerLawTrendLine (IReadOnlyList< IReadOnlyList< double > > data, IContinuousCoordinateSystem coordinateSystem) | |||
| Create a new PowerLawTrendLine instance, determining the equation parameters by running a regression.   More... | |||
| PowerLawTrendLine (IReadOnlyList<(double, double)> data, IContinuousCoordinateSystem coordinateSystem) | |||
| Create a new PowerLawTrendLine 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 a power law trendline with equation y = b * x^a.  
Definition at line 877 of file Trendlines.cs.
| VectSharp.Plots.PowerLawTrendLine.PowerLawTrendLine | ( | double | slope, | 
| double | intercept, | ||
| double | minX, | ||
| double | minY, | ||
| double | maxX, | ||
| double | maxY, | ||
| IContinuousCoordinateSystem | coordinateSystem | ||
| ) | 
Create a new PowerLawTrendLine 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 935 of file Trendlines.cs.
| VectSharp.Plots.PowerLawTrendLine.PowerLawTrendLine | ( | IReadOnlyList< IReadOnlyList< double > > | data, | 
| IContinuousCoordinateSystem | coordinateSystem | ||
| ) | 
Create a new PowerLawTrendLine 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. | 
Definition at line 951 of file Trendlines.cs.
| VectSharp.Plots.PowerLawTrendLine.PowerLawTrendLine | ( | IReadOnlyList<(double, double)> | data, | 
| IContinuousCoordinateSystem | coordinateSystem | ||
| ) | 
Create a new PowerLawTrendLine 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. | 
Definition at line 985 of file Trendlines.cs.
| void VectSharp.Plots.PowerLawTrendLine.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 988 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 922 of file Trendlines.cs.
      
  | 
  getset | 
The intercept of the trendline (b).
Definition at line 887 of file Trendlines.cs.
      
  | 
  getset | 
The maximum X value for which the trendline is plotted.
Definition at line 902 of file Trendlines.cs.
      
  | 
  getset | 
The maximum Y value for which the trendline is plotted.
Definition at line 907 of file Trendlines.cs.
      
  | 
  getset | 
The minimum X value for which the trendline is plotted.
Definition at line 892 of file Trendlines.cs.
      
  | 
  getset | 
The minimum Y value for which the trendline is plotted.
Definition at line 897 of file Trendlines.cs.
      
  | 
  getset | 
Presentation attributes for the trendline.
Definition at line 912 of file Trendlines.cs.
      
  | 
  getset | 
The slope of the trendline (a).
Definition at line 882 of file Trendlines.cs.
      
  | 
  getset | 
A tag to identify the trendline in the plot.
Definition at line 917 of file Trendlines.cs.