ScottPlot
|
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. | |
AxisLimits ScottPlot.ISignalXYSource.GetAxisLimits | ( | ) |
Return the axis limits covered by these data.
Implemented in ScottPlot.DataSources.SignalXYSourceDoubleArray, and ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >.
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 >.
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 >.
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 >.
|
get |
Number of values in the data source.
Implemented in ScottPlot.DataSources.SignalXYSourceDoubleArray, and ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >.
|
getset |
Do not display data above this index.
Implemented in ScottPlot.DataSources.SignalXYSourceDoubleArray, and ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >.
|
getset |
Do not display data below this index.
Implemented in ScottPlot.DataSources.SignalXYSourceDoubleArray, and ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >.
|
getset |
If enabled, Xs will be vertical and Ys will be horizontal.
Implemented in ScottPlot.DataSources.SignalXYSourceDoubleArray, and ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >.
|
getset |
X position of the first data point.
Implemented in ScottPlot.DataSources.SignalXYSourceDoubleArray, and ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >.
|
getset |
Multiply X values by this scale factor (before applying offset)
Implemented in ScottPlot.DataSources.SignalXYSourceDoubleArray, and ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >.
|
getset |
Shift Y position of all values by this amount.
Implemented in ScottPlot.DataSources.SignalXYSourceDoubleArray, and ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >.
|
getset |
Multiply Y values by this scale factor (before applying offset)
Implemented in ScottPlot.DataSources.SignalXYSourceDoubleArray, and ScottPlot.DataSources.SignalXYSourceGenericArray< TX, TY >.