|
double[] | Data [get] |
| Fixed-length array used as a circular buffer to shift data in at the position defined by NextIndex. Values in this array should not be modified externally if ManageAxisLimits is enabled.
|
|
int | NextIndex = 0 [get] |
| Index in Data where the next point will be added.
|
|
int | NewestIndex = 0 [get] |
| Index in Data holding the newest data point.
|
|
double | NewestPoint [get] |
| Value of the most recently added data point.
|
|
int | Length [get] |
| The number of visible data points to display.
|
|
int | CountTotal = 0 [get] |
| The total number of data points added.
|
|
int | CountTotalOnLastRender = -1 [get, set] |
| Total of data points added the last time this plottable was rendered. This can be compared with CountTotal to determine if a new render is required.
|
|
double | DataMin = double.PositiveInfinity [get] |
| Minimum value of all known data (not just the data in view)
|
|
double | DataMax = double.NegativeInfinity [get] |
| Maximum value of all known data (not just the data in view)
|
|
double | OffsetX = 0 [get, set] |
|
double | OffsetY = 0 [get, set] |
|
double | SamplePeriod = 1 [get, set] |
|
◆ DataStreamerSource()
ScottPlot.DataSources.DataStreamerSource.DataStreamerSource |
( |
double[] |
data | ) |
|
|
inline |
◆ Add()
void ScottPlot.DataSources.DataStreamerSource.Add |
( |
double |
value | ) |
|
|
inline |
◆ AddRange()
void ScottPlot.DataSources.DataStreamerSource.AddRange |
( |
IEnumerable< double > |
values | ) |
|
|
inline |
Shift in a collection of new Y values.
◆ Clear()
void ScottPlot.DataSources.DataStreamerSource.Clear |
( |
double |
value = 0 | ) |
|
|
inline |
Clear the buffer by setting all Y points to the given value.
◆ GetAxisLimits()
AxisLimits ScottPlot.DataSources.DataStreamerSource.GetAxisLimits |
( |
bool |
tight = true | ) |
|
|
inline |
◆ CountTotal
int ScottPlot.DataSources.DataStreamerSource.CountTotal = 0 |
|
get |
The total number of data points added.
◆ CountTotalOnLastRender
int ScottPlot.DataSources.DataStreamerSource.CountTotalOnLastRender = -1 |
|
getset |
Total of data points added the last time this plottable was rendered. This can be compared with CountTotal to determine if a new render is required.
◆ Data
double [] ScottPlot.DataSources.DataStreamerSource.Data |
|
get |
Fixed-length array used as a circular buffer to shift data in at the position defined by NextIndex. Values in this array should not be modified externally if ManageAxisLimits is enabled.
◆ DataMax
double ScottPlot.DataSources.DataStreamerSource.DataMax = double.NegativeInfinity |
|
get |
Maximum value of all known data (not just the data in view)
◆ DataMin
double ScottPlot.DataSources.DataStreamerSource.DataMin = double.PositiveInfinity |
|
get |
Minimum value of all known data (not just the data in view)
◆ Length
int ScottPlot.DataSources.DataStreamerSource.Length |
|
get |
The number of visible data points to display.
◆ NewestIndex
int ScottPlot.DataSources.DataStreamerSource.NewestIndex = 0 |
|
get |
Index in Data holding the newest data point.
◆ NewestPoint
double ScottPlot.DataSources.DataStreamerSource.NewestPoint |
|
get |
Value of the most recently added data point.
◆ NextIndex
int ScottPlot.DataSources.DataStreamerSource.NextIndex = 0 |
|
get |
Index in Data where the next point will be added.
◆ OffsetX
double ScottPlot.DataSources.DataStreamerSource.OffsetX = 0 |
|
getset |
◆ OffsetY
double ScottPlot.DataSources.DataStreamerSource.OffsetY = 0 |
|
getset |
◆ SamplePeriod
double ScottPlot.DataSources.DataStreamerSource.SamplePeriod = 1 |
|
getset |
The documentation for this class was generated from the following file:
- ScottPlot/src/ScottPlot5/ScottPlot5/DataSources/DataStreamerSource.cs