Single Parent Chart Object for Custom Charting
More...
|
| Chart () |
| Default constructor for chart: More...
|
|
| Chart (string name, ChartType type=ChartType.Overlay) |
| Chart Constructor: More...
|
|
| Chart (string name) |
| Constructor for a chart More...
|
|
void | AddSeries (BaseSeries series) |
| Add a reference to this chart series: More...
|
|
Series | TryAddAndGetSeries (string name, SeriesType type, int index, string unit, Color color, ScatterMarkerSymbol symbol, bool forceAddNew=false) |
| Gets Series if already present in chart, else will add a new series and return it More...
|
|
BaseSeries | TryAddAndGetSeries (string name, BaseSeries templateSeries, bool forceAddNew=false) |
| Gets Series if already present in chart, else will add a new series and return it More...
|
|
Chart | GetUpdates () |
| Fetch a chart with only the updates since the last request, Underlying series will save the index position. More...
|
|
Chart | Clone () |
| Return a new instance clone of this object More...
|
|
Single Parent Chart Object for Custom Charting
Definition at line 29 of file Chart.cs.
◆ Chart() [1/3]
QuantConnect.Chart.Chart |
( |
| ) |
|
Default constructor for chart:
Definition at line 44 of file Chart.cs.
◆ Chart() [2/3]
Chart Constructor:
- Parameters
-
name | Name of the Chart |
type | Type of the chart |
Definition at line 52 of file Chart.cs.
◆ Chart() [3/3]
QuantConnect.Chart.Chart |
( |
string |
name | ) |
|
Constructor for a chart
- Parameters
-
name | String name of the chart |
Definition at line 63 of file Chart.cs.
◆ AddSeries()
void QuantConnect.Chart.AddSeries |
( |
BaseSeries |
series | ) |
|
Add a reference to this chart series:
- Parameters
-
series | Chart series class object |
Definition at line 73 of file Chart.cs.
◆ TryAddAndGetSeries() [1/2]
Gets Series if already present in chart, else will add a new series and return it
- Parameters
-
name | Name of the series |
type | Type of the series |
index | Index position on the chart of the series |
unit | Unit for the series axis |
color | Color of the series |
symbol | Symbol for the marker in a scatter plot series |
forceAddNew | True will always add a new Series instance, stepping on existing if any |
Definition at line 96 of file Chart.cs.
◆ TryAddAndGetSeries() [2/2]
BaseSeries QuantConnect.Chart.TryAddAndGetSeries |
( |
string |
name, |
|
|
BaseSeries |
templateSeries, |
|
|
bool |
forceAddNew = false |
|
) |
| |
Gets Series if already present in chart, else will add a new series and return it
- Parameters
-
name | Name of the series |
templateSeries | Series to be used as a template. It will be clone without values if the series is added to the chart |
forceAddNew | True will always add a new Series instance, stepping on existing if any |
Definition at line 119 of file Chart.cs.
◆ GetUpdates()
Chart QuantConnect.Chart.GetUpdates |
( |
| ) |
|
Fetch a chart with only the updates since the last request, Underlying series will save the index position.
- Returns
Definition at line 135 of file Chart.cs.
◆ Clone()
Chart QuantConnect.Chart.Clone |
( |
| ) |
|
Return a new instance clone of this object
- Returns
Definition at line 156 of file Chart.cs.
The documentation for this class was generated from the following file: