Assembly: OpenTD.Results.dll Represents a 2d series on a plot. Will attempt to name itself based on the data associated with it.
Inheritance
object ← Series2dInherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()Constructors
Series2d(DataArray)
Initializes a new instance of the Series2d class, looking in ydata’s SourceDataset for time or record number to use as x data.Parameters
ydata DataArray
The y data.
Series2d(DataArray, string)
Initializes a new instance of the Series2d class, looking in ydata’s SourceDataset for time or record number to use as x data.Parameters
ydata DataArray
The y data.
name string
A custom series name.
Exceptions
OpenTDException ydata dataset must contain a valid SourceDataset to look up x valuesSeries2d(DataArray, DataArray)
Initializes a new instance of the Series2d class, explicitly specifying x and y data.Parameters
xdata DataArray
The x data.
ydata DataArray
The y data.
Series2d(DataArray, DataArray, string)
Initializes a new instance of the Series2d class, explicitly specifying x and y data.Parameters
xdata DataArray
The x data.
ydata DataArray
The y data.
name string
A custom series name.
Fields
Series2dStyle
Field Value
Series2dStyleProperties
Comment
Property Value
stringEnabled
Property Value
boolInternalSuggestedComment
Property Value
stringInternalSuggestedName
Property Value
stringName
Property Value
stringXAxis
Property Value
AxisXData
Property Value
DataArrayYAxis
Property Value
AxisYData
Property Value
DataArrayMethods
CheckData()
GetSeries2dStyle()
Returns
Series2dStyleSetSeries2dStyle(Series2dStyle)
Parameters
sstyle Series2dStyle