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

Public Member Functions | |||
| LogarithmicTrendLine (double slope, double intercept, double minX, double minY, double maxX, double maxY, IContinuousCoordinateSystem coordinateSystem) | |||
| Create a new LogarithmicTrendLine instance, specifying the equation parameters.   More... | |||
| LogarithmicTrendLine (IReadOnlyList< IReadOnlyList< double > > data, IContinuousCoordinateSystem coordinateSystem, double? fixedIntercept=null) | |||
| Create a new LogarithmicTrendLine instance, determining the equation parameters by running a regression.   More... | |||
| LogarithmicTrendLine (IReadOnlyList<(double, double)> data, IContinuousCoordinateSystem coordinateSystem, double? fixedIntercept=null) | |||
| Create a new LogarithmicTrendLine 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 logarithmic trendline with equation y = a * Ln(x) + b.  
Definition at line 474 of file Trendlines.cs.
| VectSharp.Plots.LogarithmicTrendLine.LogarithmicTrendLine | ( | double | slope, | 
| double | intercept, | ||
| double | minX, | ||
| double | minY, | ||
| double | maxX, | ||
| double | maxY, | ||
| IContinuousCoordinateSystem | coordinateSystem | ||
| ) | 
Create a new LogarithmicTrendLine 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 532 of file Trendlines.cs.
| VectSharp.Plots.LogarithmicTrendLine.LogarithmicTrendLine | ( | IReadOnlyList< IReadOnlyList< double > > | data, | 
| IContinuousCoordinateSystem | coordinateSystem, | ||
| double? | fixedIntercept = null  | 
        ||
| ) | 
Create a new LogarithmicTrendLine 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 549 of file Trendlines.cs.
| VectSharp.Plots.LogarithmicTrendLine.LogarithmicTrendLine | ( | IReadOnlyList<(double, double)> | data, | 
| IContinuousCoordinateSystem | coordinateSystem, | ||
| double? | fixedIntercept = null  | 
        ||
| ) | 
Create a new LogarithmicTrendLine 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 596 of file Trendlines.cs.
| void VectSharp.Plots.LogarithmicTrendLine.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 599 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 519 of file Trendlines.cs.
      
  | 
  getset | 
The intercept of the trendline (b).
Definition at line 484 of file Trendlines.cs.
      
  | 
  getset | 
The maximum X value for which the trendline is plotted.
Definition at line 499 of file Trendlines.cs.
      
  | 
  getset | 
The maximum Y value for which the trendline is plotted.
Definition at line 504 of file Trendlines.cs.
      
  | 
  getset | 
The minimum X value for which the trendline is plotted.
Definition at line 489 of file Trendlines.cs.
      
  | 
  getset | 
The minimum Y value for which the trendline is plotted.
Definition at line 494 of file Trendlines.cs.
      
  | 
  getset | 
Presentation attributes for the trendline.
Definition at line 509 of file Trendlines.cs.
      
  | 
  getset | 
The slope of the trendline (a).
Definition at line 479 of file Trendlines.cs.
      
  | 
  getset | 
A tag to identify the trendline in the plot.
Definition at line 514 of file Trendlines.cs.