ChartPoint
QuantConnect.ChartPoint
ChartPoint()
ChartPoint(x_value: int, y_value: Optional[float])
ChartPoint(
time: Union[datetime, date], value: Optional[float]
)
ChartPoint(point: ChartPoint)
Bases: Object, ISeriesPoint
Single Chart Point Value Type for QCAlgorithm.Plot();
Signature descriptions:
-
Default constructor. Using in SeriesSampler.
-
Constructor that takes both x, y value pairs
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
x_value
|
Optional[int]
|
X value often representing a time in seconds |
None
|
y_value
|
Optional[Optional[float]]
|
Y value |
None
|
time
|
Optional[Union[datetime, date]]
|
This point time |
None
|
value
|
Optional[Optional[float]]
|
Y value |
None
|
time
time: datetime
Time of this chart series point
x
x: int
Shortcut for x for C# naming conventions
y
y: Optional[float]
Shortcut for y for C# naming conventions
clone
clone() -> ISeriesPoint
to_string
to_string() -> str
Provides a readable string representation of this instance.