QCandlestickSet¶
The QCandlestickSet
class represents a single candlestick item in a candlestick chart. More…
Synopsis¶
Functions¶
Signals¶
def
brushChanged
()def
clicked
()def
closeChanged
()def
doubleClicked
()def
highChanged
()def
hovered
(status)def
lowChanged
()def
openChanged
()def
penChanged
()def
pressed
()def
released
()def
timestampChanged
()
Detailed Description¶
Five values are needed to create a graphical representation of a candlestick item: open, high, low, close, and timestamp. These values can be either passed to a QCandlestickSet
constructor or set by using setOpen()
, setHigh()
, setLow()
, setClose()
, and setTimestamp()
.
See also
- class PySide6.QtCharts.QCandlestickSet(open, high, low, close[, timestamp=0.0[, parent=None]])¶
PySide6.QtCharts.QCandlestickSet([timestamp=0.0[, parent=None]])
- Parameters
timestamp – float
low – float
high – float
open – float
parent –
PySide6.QtCore.QObject
close – float
Constructs a candlestick item with given ordered values. The values open
, high
, low
, and close
are mandatory. The values timestamp
and parent
are optional.
Constructs a candlestick item with an optional timestamp
and a parent
.
- PySide6.QtCharts.QCandlestickSet.brush()¶
- Return type
This property holds The brush used to fill the candlestick item..
- PySide6.QtCharts.QCandlestickSet.brushChanged()¶
- PySide6.QtCharts.QCandlestickSet.clicked()¶
- PySide6.QtCharts.QCandlestickSet.close()¶
- Return type
float
This property holds The close value of the candlestick item..
- PySide6.QtCharts.QCandlestickSet.closeChanged()¶
- PySide6.QtCharts.QCandlestickSet.doubleClicked()¶
- PySide6.QtCharts.QCandlestickSet.high()¶
- Return type
float
This property holds The high value of the candlestick item..
- PySide6.QtCharts.QCandlestickSet.highChanged()¶
- PySide6.QtCharts.QCandlestickSet.hovered(status)¶
- Parameters
status – bool
- PySide6.QtCharts.QCandlestickSet.low()¶
- Return type
float
This property holds The low value of the candlestick item..
- PySide6.QtCharts.QCandlestickSet.lowChanged()¶
- PySide6.QtCharts.QCandlestickSet.open()¶
- Return type
float
This property holds The open value of the candlestick item..
- PySide6.QtCharts.QCandlestickSet.openChanged()¶
- PySide6.QtCharts.QCandlestickSet.pen()¶
- Return type
This property holds The pen used to draw the lines of the candlestick item..
- PySide6.QtCharts.QCandlestickSet.penChanged()¶
- PySide6.QtCharts.QCandlestickSet.pressed()¶
- PySide6.QtCharts.QCandlestickSet.released()¶
- PySide6.QtCharts.QCandlestickSet.setBrush(brush)¶
- Parameters
brush –
PySide6.QtGui.QBrush
This property holds The brush used to fill the candlestick item..
- PySide6.QtCharts.QCandlestickSet.setClose(close)¶
- Parameters
close – float
This property holds The close value of the candlestick item..
- PySide6.QtCharts.QCandlestickSet.setHigh(high)¶
- Parameters
high – float
This property holds The high value of the candlestick item..
- PySide6.QtCharts.QCandlestickSet.setLow(low)¶
- Parameters
low – float
This property holds The low value of the candlestick item..
- PySide6.QtCharts.QCandlestickSet.setOpen(open)¶
- Parameters
open – float
This property holds The open value of the candlestick item..
- PySide6.QtCharts.QCandlestickSet.setPen(pen)¶
- Parameters
pen –
PySide6.QtGui.QPen
This property holds The pen used to draw the lines of the candlestick item..
- PySide6.QtCharts.QCandlestickSet.setTimestamp(timestamp)¶
- Parameters
timestamp – float
This property holds The timestamp value of the candlestick item..
- PySide6.QtCharts.QCandlestickSet.timestamp()¶
- Return type
float
This property holds The timestamp value of the candlestick item..
- PySide6.QtCharts.QCandlestickSet.timestampChanged()¶
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.