ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
ScottPlot.ISignalXYSource Interface Reference
Inheritance diagram for ScottPlot.ISignalXYSource:
ScottPlot.DataSources.SignalXYSourceDoubleArray ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >

Public Member Functions

AxisLimits GetAxisLimits ()
 Return the axis limits covered by these data.
 
Pixel[] GetPixelsToDraw (RenderPack rp, IAxes axes, ConnectStyle connectStyle)
 Return pixels to render to display this signal. May return one extra point on each side of the plot outside the data area.
 
DataPoint GetNearest (Coordinates location, RenderDetails renderInfo, float maxDistance=15)
 Return the point nearest a specific location given the X/Y pixel scaling information from a previous render. Will return DataPoint.None if the nearest point is greater than maxDistance pixels away.
 
DataPoint GetNearestX (Coordinates location, RenderDetails renderInfo, float maxDistance=15)
 Return the point nearest a specific X location given the X/Y pixel scaling information from a previous render. Will return DataPoint.None if the nearest point is greater than maxDistance pixels away.
 

Properties

int Count [get]
 Number of values in the data source.
 
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)
 
double XScale [get, set]
 Multiply X values by this scale factor (before applying offset)
 
int MinimumIndex [get, set]
 Do not display data below this index.
 
int MaximumIndex [get, set]
 Do not display data above this index.
 
bool Rotated [get, set]
 If enabled, Xs will be vertical and Ys will be horizontal.
 

Member Function Documentation

◆ GetAxisLimits()

AxisLimits ScottPlot.ISignalXYSource.GetAxisLimits ( )

Return the axis limits covered by these data.

Implemented in ScottPlot.DataSources.SignalXYSourceDoubleArray, and ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >.

◆ GetNearest()

DataPoint ScottPlot.ISignalXYSource.GetNearest ( Coordinates  location,
RenderDetails  renderInfo,
float  maxDistance = 15 
)

Return the point nearest a specific location given the X/Y pixel scaling information from a previous render. Will return DataPoint.None if the nearest point is greater than maxDistance pixels away.

Implemented in ScottPlot.DataSources.SignalXYSourceDoubleArray, and ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >.

◆ GetNearestX()

DataPoint ScottPlot.ISignalXYSource.GetNearestX ( Coordinates  location,
RenderDetails  renderInfo,
float  maxDistance = 15 
)

Return the point nearest a specific X location given the X/Y pixel scaling information from a previous render. Will return DataPoint.None if the nearest point is greater than maxDistance pixels away.

Implemented in ScottPlot.DataSources.SignalXYSourceDoubleArray, and ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >.

◆ GetPixelsToDraw()

Pixel[] ScottPlot.ISignalXYSource.GetPixelsToDraw ( RenderPack  rp,
IAxes  axes,
ConnectStyle  connectStyle 
)

Return pixels to render to display this signal. May return one extra point on each side of the plot outside the data area.

Implemented in ScottPlot.DataSources.SignalXYSourceDoubleArray, and ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >.

Property Documentation

◆ Count

int ScottPlot.ISignalXYSource.Count
get

◆ MaximumIndex

int ScottPlot.ISignalXYSource.MaximumIndex
getset

◆ MinimumIndex

int ScottPlot.ISignalXYSource.MinimumIndex
getset

◆ Rotated

bool ScottPlot.ISignalXYSource.Rotated
getset

If enabled, Xs will be vertical and Ys will be horizontal.

Implemented in ScottPlot.DataSources.SignalXYSourceDoubleArray, and ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >.

◆ XOffset

double ScottPlot.ISignalXYSource.XOffset
getset

◆ XScale

double ScottPlot.ISignalXYSource.XScale
getset

Multiply X values by this scale factor (before applying offset)

Implemented in ScottPlot.DataSources.SignalXYSourceDoubleArray, and ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >.

◆ YOffset

double ScottPlot.ISignalXYSource.YOffset
getset

Shift Y position of all values by this amount.

Implemented in ScottPlot.DataSources.SignalXYSourceDoubleArray, and ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >.

◆ YScale

double ScottPlot.ISignalXYSource.YScale
getset

Multiply Y values by this scale factor (before applying offset)

Implemented in ScottPlot.DataSources.SignalXYSourceDoubleArray, and ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >.


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