ScottPlot
|
Public Member Functions | |
SignalXYSourceGenericArray (TX[] xs, TY[] ys) | |
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. | |
Pixel[] | GetPixelsToDrawHorizontally (RenderPack rp, IAxes axes, ConnectStyle connectStyle) |
Pixel[] | GetPixelsToDrawVertically (RenderPack rp, IAxes axes, ConnectStyle connectStyle) |
CoordinateRange | GetRangeY (int index1, int index2) |
Return the vertical range covered by data between the given indices (inclusive) | |
int | GetIndex (double x) |
Get the index associated with the given X position. | |
int | GetIndex (double x, IndexRange indexRange) |
Get the index associated with the given X position limited to the given range. | |
IEnumerable< Pixel > | GetColumnPixelsX (int pixelColumnIndex, IndexRange rng, RenderPack rp, IAxes axes) |
Given a pixel column, return the pixels to render its line. If the column contains no data, no pixels are returned. If the column contains one point, return that one pixel. If the column contains multiple points, return 4 pixels: enter, min, max, and exit. | |
IEnumerable< Pixel > | GetColumnPixelsY (int pixelColumnIndex, IndexRange rng, RenderPack rp, IAxes axes) |
Given a pixel column, return the pixels to render its line. If the column contains no data, no pixels are returned. If the column contains one point, return that one pixel. If the column contains multiple points, return 4 pixels: enter, min, max, and exit. | |
DataPoint | GetNearest (Coordinates mouseLocation, 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 mouseLocation, 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 | |
TX[] | Xs [get, set] |
TY[] | Ys [get, set] |
int | Count [get] |
Number of values in the data source. | |
bool | Rotated = false [get, set] |
If enabled, Xs will be vertical and Ys will be horizontal. | |
double | XOffset = 0 [get, set] |
X position of the first data point. | |
double | YOffset = 0 [get, set] |
Shift Y position of all values by this amount. | |
double | YScale = 1 [get, set] |
Multiply Y values by this scale factor (before applying offset) | |
double | XScale = 1 [get, set] |
Multiply X values by this scale factor (before applying offset) | |
int | MinimumIndex = 0 [get, set] |
Do not display data below this index. | |
int | MaximumIndex [get, set] |
Do not display data above this index. | |
bool | UsePixelOverlap = false [get] |
![]() | |
![]() |
|
inline |
|
inline |
Return the axis limits covered by these data.
Implements ScottPlot.ISignalXYSource.
|
inline |
Given a pixel column, return the pixels to render its line. If the column contains no data, no pixels are returned. If the column contains one point, return that one pixel. If the column contains multiple points, return 4 pixels: enter, min, max, and exit.
|
inline |
Given a pixel column, return the pixels to render its line. If the column contains no data, no pixels are returned. If the column contains one point, return that one pixel. If the column contains multiple points, return 4 pixels: enter, min, max, and exit.
|
inline |
Get the index associated with the given X position.
|
inline |
Get the index associated with the given X position limited to the given range.
DataPoint ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >.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.
Implements ScottPlot.ISignalXYSource.
DataPoint ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >.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.
Implements ScottPlot.ISignalXYSource.
|
inline |
Return pixels to render to display this signal. May return one extra point on each side of the plot outside the data area.
Implements ScottPlot.ISignalXYSource.
|
inline |
|
inline |
|
inline |
Return the vertical range covered by data between the given indices (inclusive)
|
get |
Number of values in the data source.
Implements ScottPlot.ISignalXYSource.
|
getset |
Do not display data above this index.
Implements ScottPlot.ISignalXYSource.
|
getset |
Do not display data below this index.
Implements ScottPlot.ISignalXYSource.
|
getset |
If enabled, Xs will be vertical and Ys will be horizontal.
Implements ScottPlot.ISignalXYSource.
|
get |
|
getset |
X position of the first data point.
Implements ScottPlot.ISignalXYSource.
|
getset |
|
getset |
Multiply X values by this scale factor (before applying offset)
Implements ScottPlot.ISignalXYSource.
|
getset |
Shift Y position of all values by this amount.
Implements ScottPlot.ISignalXYSource.
|
getset |
|
getset |
Multiply Y values by this scale factor (before applying offset)
Implements ScottPlot.ISignalXYSource.