Interface ISignalXYSource
- Namespace
- ScottPlot
- Assembly
- ScottPlot.dll
public interface ISignalXYSource
- Extension Methods
Properties
Count
Number of values in the data source
int Count { get; }
Property Value
MaximumIndex
Do not display data above this index
int MaximumIndex { get; set; }
Property Value
MinimumIndex
Do not display data below this index
int MinimumIndex { get; set; }
Property Value
Rotated
If enabled, Xs will be vertical and Ys will be horizontal.
bool Rotated { get; set; }
Property Value
XOffset
X position of the first data point
double XOffset { get; set; }
Property Value
XScale
Multiply X values by this scale factor (before applying offset)
double XScale { get; set; }
Property Value
YOffset
Shift Y position of all values by this amount
double YOffset { get; set; }
Property Value
YScale
Multiply Y values by this scale factor (before applying offset)
double YScale { get; set; }
Property Value
Methods
GetAxisLimits()
Return the axis limits covered by these data
AxisLimits GetAxisLimits()
Returns
GetNearest(Coordinates, RenderDetails, float)
Return the point nearest a specific location given the X/Y pixel scaling information from a previous render.
Will return None if the nearest point is greater than maxDistance pixels away.
DataPoint GetNearest(Coordinates location, RenderDetails renderInfo, float maxDistance = 15)
Parameters
locationCoordinatesrenderInfoRenderDetailsmaxDistancefloat
Returns
GetNearestX(Coordinates, RenderDetails, float)
Return the point nearest a specific X location given the X/Y pixel scaling information from a previous render.
Will return None if the nearest point is greater than maxDistance pixels away.
DataPoint GetNearestX(Coordinates location, RenderDetails renderInfo, float maxDistance = 15)
Parameters
locationCoordinatesrenderInfoRenderDetailsmaxDistancefloat
Returns
GetPixelsToDraw(RenderPack, IAxes, ConnectStyle)
Return pixels to render to display this signal. May return one extra point on each side of the plot outside the data area.
IReadOnlyList<Pixel> GetPixelsToDraw(RenderPack rp, IAxes axes, ConnectStyle connectStyle)
Parameters
rpRenderPackaxesIAxesconnectStyleConnectStyle