Class PerformanceData
Sample data structure containing a variety of data values, in this case the values are related in that they correspond to the same time value.
Inherited Members
Namespace: ZedGraph
Assembly: ZedGraph.dll
Syntax
public class PerformanceData
Constructors
| Improve this Doc View SourcePerformanceData(Double, Double, Double, Double)
Constructor that specifies each data value in the PerformanceData struct
Declaration
public PerformanceData(double time, double distance, double velocity, double acceleration)
Parameters
Type | Name | Description |
---|---|---|
Double | time | The time (seconds) at which these data are measured |
Double | distance | The distance traveled, meters |
Double | velocity | The instantaneous velocity, meters per second |
Double | acceleration | The instantaneous acceleration, meters per second squared |
Fields
| Improve this Doc View Sourceacceleration
The instantaneous acceleration, meters per second squared
Declaration
public double acceleration
Field Value
Type | Description |
---|---|
Double |
distance
The distance traveled, meters
Declaration
public double distance
Field Value
Type | Description |
---|---|
Double |
time
The time (seconds) at which these data are measured
Declaration
public double time
Field Value
Type | Description |
---|---|
Double |
velocity
The instantaneous velocity, meters per second
Declaration
public double velocity
Field Value
Type | Description |
---|---|
Double |
Properties
| Improve this Doc View SourceItem[PerfDataType]
Gets or sets the data value as specified by the PerfDataType enum
Declaration
public double this[PerfDataType type] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
PerfDataType | type | The required data value type |
Property Value
Type | Description |
---|---|
Double |