QCandlestickSet

The QCandlestickSet class represents a single candlestick item in a candlestick chart. More

Inheritance diagram of PySide6.QtCharts.QCandlestickSet

Synopsis

Functions

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() .

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

  • parentPySide6.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

PySide6.QtGui.QBrush

See also

setBrush()

PySide6.QtCharts.QCandlestickSet.brushChanged()
PySide6.QtCharts.QCandlestickSet.clicked()
PySide6.QtCharts.QCandlestickSet.close()
Return type

float

See also

setClose()

PySide6.QtCharts.QCandlestickSet.closeChanged()
PySide6.QtCharts.QCandlestickSet.doubleClicked()
PySide6.QtCharts.QCandlestickSet.high()
Return type

float

See also

setHigh()

PySide6.QtCharts.QCandlestickSet.highChanged()
PySide6.QtCharts.QCandlestickSet.hovered(status)
Parameters

status – bool

PySide6.QtCharts.QCandlestickSet.low()
Return type

float

See also

setLow()

PySide6.QtCharts.QCandlestickSet.lowChanged()
PySide6.QtCharts.QCandlestickSet.open()
Return type

float

See also

setOpen()

PySide6.QtCharts.QCandlestickSet.openChanged()
PySide6.QtCharts.QCandlestickSet.pen()
Return type

PySide6.QtGui.QPen

See also

setPen()

PySide6.QtCharts.QCandlestickSet.penChanged()
PySide6.QtCharts.QCandlestickSet.pressed()
PySide6.QtCharts.QCandlestickSet.released()
PySide6.QtCharts.QCandlestickSet.setBrush(brush)
Parameters

brushPySide6.QtGui.QBrush

See also

brush()

PySide6.QtCharts.QCandlestickSet.setClose(close)
Parameters

close – float

See also

close()

PySide6.QtCharts.QCandlestickSet.setHigh(high)
Parameters

high – float

See also

high()

PySide6.QtCharts.QCandlestickSet.setLow(low)
Parameters

low – float

See also

low()

PySide6.QtCharts.QCandlestickSet.setOpen(open)
Parameters

open – float

See also

open()

PySide6.QtCharts.QCandlestickSet.setPen(pen)
Parameters

penPySide6.QtGui.QPen

See also

pen()

PySide6.QtCharts.QCandlestickSet.setTimestamp(timestamp)
Parameters

timestamp – float

See also

timestamp()

PySide6.QtCharts.QCandlestickSet.timestamp()
Return type

float

See also

setTimestamp()

PySide6.QtCharts.QCandlestickSet.timestampChanged()