Lean
$LEAN_TAG$
|
Chart Series Object - Series data and properties for a chart: More...
Public Member Functions | |
Series () | |
Default constructor for chart series More... | |
Series (string name) | |
Constructor method for Chart Series More... | |
Series (string name, SeriesType type, int index) | |
Foundational constructor on the series class More... | |
Series (string name, SeriesType type, int index, string unit) | |
Foundational constructor on the series class More... | |
Series (string name, SeriesType type=SeriesType.Line, string unit="$") | |
Constructor method for Chart Series More... | |
Series (string name, SeriesType type, string unit, Color color) | |
Constructor method for Chart Series More... | |
Series (string name, SeriesType type, string unit, Color color, ScatterMarkerSymbol symbol=ScatterMarkerSymbol.None) | |
Constructor method for Chart Series More... | |
void | AddPoint (DateTime time, decimal value) |
Add a new point to this series More... | |
override void | AddPoint (ISeriesPoint point) |
Add a new point to this series More... | |
override void | AddPoint (DateTime time, List< decimal > values) |
Add a new point to this series More... | |
override ISeriesPoint | ConsolidateChartPoints () |
Will sum up all chart points into a new single value, using the time of latest point More... | |
override BaseSeries | Clone (bool empty=false) |
Return a new instance clone of this object More... | |
![]() | |
BaseSeries | GetUpdates () |
Get the updates since the last call to this function. More... | |
void | Purge () |
Removes the data from this series and resets the update position to 0 More... | |
IEnumerable< T > | GetValues< T > () |
Returns an enumerable of the values of the series cast to the specified type More... | |
Properties | |
Color | Color = Color.Empty [get, set] |
Color the series More... | |
ScatterMarkerSymbol | ScatterMarkerSymbol = ScatterMarkerSymbol.None [get, set] |
Shape or symbol for the marker in a scatter plot More... | |
![]() | |
string | Name [get, set] |
Name of the series. More... | |
string | Unit [get, set] |
Axis for the chart series. More... | |
int | Index [get, set] |
Index/position of the series on the chart. More... | |
string | IndexName [get, set] |
Axis name for the chart series. More... | |
int? | ZIndex [get, set] |
Defines the visual Z index of the series on the chart. More... | |
SeriesType | SeriesType [get, set] |
Chart type for the series: More... | |
string | Tooltip [get, set] |
An optional tooltip template More... | |
List< ISeriesPoint > | Values [get, set] |
The series list of values. These values are assumed to be in ascending time order (first points earliest, last points latest) More... | |
Additional Inherited Members | |
![]() | |
static BaseSeries | Create (SeriesType seriesType, string name, int index=0, string unit="$") |
Creates a series according to the specified type. More... | |
![]() | |
BaseSeries () | |
Default constructor for chart series More... | |
BaseSeries (string name, SeriesType type) | |
Constructor method for Chart Series More... | |
BaseSeries (string name, SeriesType type, int index) | |
Foundational constructor on the series class More... | |
BaseSeries (string name, SeriesType type, int index, string unit) | |
Foundational constructor on the series class More... | |
BaseSeries (string name, SeriesType type, string unit) | |
Constructor method for Chart Series More... | |
List< ISeriesPoint > | CloneValues () |
Return a list of cloned values More... | |
Chart Series Object - Series data and properties for a chart:
QuantConnect.Series.Series | ( | ) |
QuantConnect.Series.Series | ( | string | name | ) |
QuantConnect.Series.Series | ( | string | name, |
SeriesType | type, | ||
int | index | ||
) |
QuantConnect.Series.Series | ( | string | name, |
SeriesType | type, | ||
int | index, | ||
string | unit | ||
) |
QuantConnect.Series.Series | ( | string | name, |
SeriesType | type = SeriesType.Line , |
||
string | unit = "$" |
||
) |
QuantConnect.Series.Series | ( | string | name, |
SeriesType | type, | ||
string | unit, | ||
Color | color | ||
) |
QuantConnect.Series.Series | ( | string | name, |
SeriesType | type, | ||
string | unit, | ||
Color | color, | ||
ScatterMarkerSymbol | symbol = ScatterMarkerSymbol.None |
||
) |
void QuantConnect.Series.AddPoint | ( | DateTime | time, |
decimal | value | ||
) |
|
virtual |
Add a new point to this series
point | The data point to add |
Reimplemented from QuantConnect.BaseSeries.
|
virtual |
Add a new point to this series
time | The time of the data point |
values | The values of the data point |
Implements QuantConnect.BaseSeries.
Definition at line 158 of file Series.cs.
|
virtual |
Will sum up all chart points into a new single value, using the time of latest point
Implements QuantConnect.BaseSeries.
|
virtual |
Return a new instance clone of this object
Implements QuantConnect.BaseSeries.
Definition at line 193 of file Series.cs.
|
getset |
|
getset |