Chart Series Object - Series data and properties for a chart:
More...
Chart Series Object - Series data and properties for a chart:
Definition at line 29 of file BaseSeries.cs.
◆ BaseSeries() [1/5]
QuantConnect.BaseSeries.BaseSeries |
( |
| ) |
|
|
protected |
Default constructor for chart series
Definition at line 81 of file BaseSeries.cs.
◆ BaseSeries() [2/5]
QuantConnect.BaseSeries.BaseSeries |
( |
string |
name, |
|
|
SeriesType |
type |
|
) |
| |
|
protected |
Constructor method for Chart Series
- Parameters
-
name | Name of the chart series |
type | Type of the series |
Definition at line 92 of file BaseSeries.cs.
◆ BaseSeries() [3/5]
QuantConnect.BaseSeries.BaseSeries |
( |
string |
name, |
|
|
SeriesType |
type, |
|
|
int |
index |
|
) |
| |
|
protected |
Foundational constructor on the series class
- Parameters
-
name | Name of the series |
type | Type of the series |
index | Series index position on the chart |
Definition at line 105 of file BaseSeries.cs.
◆ BaseSeries() [4/5]
QuantConnect.BaseSeries.BaseSeries |
( |
string |
name, |
|
|
SeriesType |
type, |
|
|
int |
index, |
|
|
string |
unit |
|
) |
| |
|
protected |
Foundational constructor on the series class
- Parameters
-
name | Name of the series |
type | Type of the series |
index | Series index position on the chart |
unit | Unit for the series axis |
Definition at line 118 of file BaseSeries.cs.
◆ BaseSeries() [5/5]
QuantConnect.BaseSeries.BaseSeries |
( |
string |
name, |
|
|
SeriesType |
type, |
|
|
string |
unit |
|
) |
| |
|
protected |
Constructor method for Chart Series
- Parameters
-
name | Name of the chart series |
type | Type of the chart series |
unit | Unit of the series |
Definition at line 130 of file BaseSeries.cs.
◆ AddPoint() [1/2]
virtual void QuantConnect.BaseSeries.AddPoint |
( |
ISeriesPoint |
point | ) |
|
|
virtual |
◆ AddPoint() [2/2]
abstract void QuantConnect.BaseSeries.AddPoint |
( |
DateTime |
time, |
|
|
List< decimal > |
values |
|
) |
| |
|
pure virtual |
◆ GetUpdates()
Get the updates since the last call to this function.
- Returns
- List of the updates from the series
Definition at line 163 of file BaseSeries.cs.
◆ Purge()
void QuantConnect.BaseSeries.Purge |
( |
| ) |
|
Removes the data from this series and resets the update position to 0
Definition at line 187 of file BaseSeries.cs.
◆ ConsolidateChartPoints()
abstract ISeriesPoint QuantConnect.BaseSeries.ConsolidateChartPoints |
( |
| ) |
|
|
pure virtual |
◆ Clone()
abstract BaseSeries QuantConnect.BaseSeries.Clone |
( |
bool |
empty = false | ) |
|
|
pure virtual |
◆ CloneValues()
Return a list of cloned values
- Returns
Definition at line 209 of file BaseSeries.cs.
◆ GetValues< T >()
IEnumerable<T> QuantConnect.BaseSeries.GetValues< T > |
( |
| ) |
|
Returns an enumerable of the values of the series cast to the specified type
- Returns
- An enumerable of the values of the series cast to the specified type
Definition at line 223 of file BaseSeries.cs.
◆ Create()
static BaseSeries QuantConnect.BaseSeries.Create |
( |
SeriesType |
seriesType, |
|
|
string |
name, |
|
|
int |
index = 0 , |
|
|
string |
unit = "$" |
|
) |
| |
|
static |
Creates a series according to the specified type.
- Parameters
-
seriesType | The series type |
name | The name of the series |
index | Series index position on the chart |
unit | Unit for the series axis |
- Returns
- A CandlestickSeries if seriesType is SeriesType.Candle. A Series otherwise.
Definition at line 240 of file BaseSeries.cs.
◆ Name
string QuantConnect.BaseSeries.Name |
|
getset |
◆ Unit
string QuantConnect.BaseSeries.Unit |
|
getset |
◆ Index
int QuantConnect.BaseSeries.Index |
|
getset |
Index/position of the series on the chart.
Definition at line 47 of file BaseSeries.cs.
◆ IndexName
string QuantConnect.BaseSeries.IndexName |
|
getset |
Axis name for the chart series.
Definition at line 53 of file BaseSeries.cs.
◆ ZIndex
int? QuantConnect.BaseSeries.ZIndex |
|
getset |
Defines the visual Z index of the series on the chart.
Definition at line 59 of file BaseSeries.cs.
◆ SeriesType
◆ Tooltip
string QuantConnect.BaseSeries.Tooltip |
|
getset |
◆ Values
The series list of values. These values are assumed to be in ascending time order (first points earliest, last points latest)
Definition at line 76 of file BaseSeries.cs.
The documentation for this class was generated from the following file: