Class DataLoggerSource
- Namespace
- ScottPlot.DataSources
- Assembly
- ScottPlot.dll
public class DataLoggerSource
- Inheritance
-
DataLoggerSource
- Inherited Members
- Extension Methods
Constructors
DataLoggerSource(List<Coordinates>)
public DataLoggerSource(List<Coordinates> coordinates)
Parameters
coordinates
List<Coordinates>
Properties
Coordinates
public List<Coordinates> Coordinates { get; }
Property Value
HasNewData
public bool HasNewData { get; set; }
Property Value
WasRendered
public bool WasRendered { get; set; }
Property Value
XOffset
public double XOffset { get; set; }
Property Value
YOffset
public double YOffset { get; set; }
Property Value
YScale
public double YScale { get; set; }
Property Value
Methods
Add(Coordinates)
public void Add(Coordinates coordinates)
Parameters
coordinates
Coordinates
Clear()
public void Clear()
GetIndex(double)
Get the index associated with the given X position
public int GetIndex(double x)
Parameters
x
double
Returns
GetPixelsToDrawHorizontally(RenderPack, IAxes, ConnectStyle)
public Pixel[] GetPixelsToDrawHorizontally(RenderPack rp, IAxes axes, ConnectStyle connectStyle)
Parameters
rp
RenderPackaxes
IAxesconnectStyle
ConnectStyle
Returns
- Pixel[]
GetPixelsToDrawVertically(RenderPack, IAxes, ConnectStyle)
public Pixel[] GetPixelsToDrawVertically(RenderPack rp, IAxes axes, ConnectStyle connectStyle)
Parameters
rp
RenderPackaxes
IAxesconnectStyle
ConnectStyle
Returns
- Pixel[]
GetRangeX()
public CoordinateRange GetRangeX()
Returns
GetRangeY(CoordinateRange)
public CoordinateRange GetRangeY(CoordinateRange newRangeX)
Parameters
newRangeX
CoordinateRange
Returns
OnRendered()
public void OnRendered()