ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
ScottPlot.DataSources.FastSignalSourceDouble Class Reference
Inheritance diagram for ScottPlot.DataSources.FastSignalSourceDouble:
ScottPlot.DataSources.SignalSourceBase ScottPlot.ISignalSource ScottPlot.IDataSource

Public Member Functions

 FastSignalSourceDouble (IReadOnlyList< double > ys, double period, int cachePeriod=1000)
 
IReadOnlyList< double > GetYs ()
 Return an object for working with all Y values.
 
IEnumerable< double > GetYs (int i1, int i2)
 Y values between a range of indexes (inclusive).
 
double GetY (int index)
 Returns the Y position for a given index.
 
override SignalRangeY GetLimitsY (int firstIndex, int lastIndex)
 
PixelColumn GetPixelColumn (IAxes axes, int xPixelIndex)
 Returns range information about the data at a specific pixel location.
 
- Public Member Functions inherited from ScottPlot.DataSources.SignalSourceBase
int GetIndex (double x, bool visibleDataOnly)
 
bool RangeContainsSignal (double xMin, double xMax)
 
double GetX (int index)
 
CoordinateRange GetLimitsX ()
 
CoordinateRange GetLimitsY ()
 
SignalRangeY GetLimitsY (int firstIndex, int lastIndex)
 
AxisLimits GetLimits ()
 
- Public Member Functions inherited from ScottPlot.ISignalSource
int GetIndex (double x, bool clamp)
 Returns the predicted index for the data point nearest a given X position. If clamped, the returned index will be clamped between 0 and Length - 1.
 
CoordinateRange GetLimitsX ()
 
CoordinateRange GetLimitsY ()
 
AxisLimits GetLimits ()
 

Properties

override int Length [get]
 The length of the collection.
 
- Properties inherited from ScottPlot.DataSources.SignalSourceBase
double Period [get, set]
 
int Length [get]
 
int MinimumIndex = 0 [get, set]
 
int MaximumIndex = int.MaxValue [get, set]
 
int MinRenderIndex [get]
 
int MaxRenderIndex [get]
 
bool UsePixelOverlap = false [get]
 
double XOffset = 0 [get, set]
 
double YOffset = 0 [get, set]
 
double YScale = 1 [get, set]
 
- Properties inherited from ScottPlot.ISignalSource
double Period [get, set]
 X distance between Y points.
 
double XOffset [get, set]
 X position of the first data point.
 
double YOffset [get, set]
 Shift Y position of all values by this amount.
 
double YScale [get, set]
 Multiply Y values by this scale factor (before applying offset)
 
int MaximumIndex [get, set]
 Do not display data above this index.
 
int MinimumIndex [get, set]
 Do not display data below this index.
 
- Properties inherited from ScottPlot.IDataSource
int MinRenderIndex [get]
 
int MaxRenderIndex [get]
 

Constructor & Destructor Documentation

◆ FastSignalSourceDouble()

ScottPlot.DataSources.FastSignalSourceDouble.FastSignalSourceDouble ( IReadOnlyList< double >  ys,
double  period,
int  cachePeriod = 1000 
)
inline

Member Function Documentation

◆ GetLimitsY()

override SignalRangeY ScottPlot.DataSources.FastSignalSourceDouble.GetLimitsY ( int  firstIndex,
int  lastIndex 
)
inline

◆ GetPixelColumn()

PixelColumn ScottPlot.DataSources.FastSignalSourceDouble.GetPixelColumn ( IAxes  axes,
int  xPixelIndex 
)
inline

Returns range information about the data at a specific pixel location.

Implements ScottPlot.ISignalSource.

◆ GetY()

double ScottPlot.DataSources.FastSignalSourceDouble.GetY ( int  index)
inline

Returns the Y position for a given index.

Implements ScottPlot.ISignalSource.

◆ GetYs() [1/2]

IReadOnlyList< double > ScottPlot.DataSources.FastSignalSourceDouble.GetYs ( )
inline

Return an object for working with all Y values.

Implements ScottPlot.ISignalSource.

◆ GetYs() [2/2]

IEnumerable< double > ScottPlot.DataSources.FastSignalSourceDouble.GetYs ( int  index1,
int  index2 
)
inline

Y values between a range of indexes (inclusive).

Implements ScottPlot.ISignalSource.

Property Documentation

◆ Length

override int ScottPlot.DataSources.FastSignalSourceDouble.Length
get

The length of the collection.

Implements ScottPlot.IDataSource.


The documentation for this class was generated from the following file: