Skip to content

Chart

Qt Base Class: QChart

Signature: QChart(self, parent: Optional[PySide6.QtWidgets.QGraphicsItem] = None, wFlags: PySide6.QtCore.Qt.WindowType = Default(Qt.WindowFlags)) -> None QChart(self, type: PySide6.QtCharts.QChart.ChartType, parent: PySide6.QtWidgets.QGraphicsItem, wFlags: PySide6.QtCore.Qt.WindowType) -> None

Base classes

Name Children Inherits
ChartMixin
prettyqt.charts.chart
QChart
PySide6.QtCharts
QChart(self, parent: Optional[PySide6.QtWidgets.QGraphicsItem] \= None, wFlags: PySide6.QtCore.Qt.WindowType \= Default(Qt.WindowFlags)) -> None

⋔ Inheritance diagram

graph TD
  1473367665408["charts.Chart"]
  1473367661504["charts.ChartMixin"]
  1473296164144["widgets.GraphicsWidgetMixin"]
  1473293697024["widgets.GraphicsObjectMixin"]
  1473299815024["core.ObjectMixin"]
  140713234304496["builtins.object"]
  1473293706784["widgets.GraphicsItemMixin"]
  1473293712640["widgets.GraphicsLayoutItemMixin"]
  1473367558048["QtCharts.QChart"]
  1473365806992["QtWidgets.QGraphicsWidget"]
  1473365816752["QtWidgets.QGraphicsObject"]
  1473290795024["QtWidgets.QGraphicsItem"]
  1473291690208["Shiboken.Object"]
  1473288842240["QtCore.QObject"]
  1473290825280["QtWidgets.QGraphicsLayoutItem"]
  1473367661504 --> 1473367665408
  1473296164144 --> 1473367661504
  1473293697024 --> 1473296164144
  1473299815024 --> 1473293697024
  140713234304496 --> 1473299815024
  1473293706784 --> 1473293697024
  140713234304496 --> 1473293706784
  1473293712640 --> 1473296164144
  140713234304496 --> 1473293712640
  1473367558048 --> 1473367665408
  1473365806992 --> 1473367558048
  1473365816752 --> 1473365806992
  1473290795024 --> 1473365816752
  1473291690208 --> 1473290795024
  140713234304496 --> 1473291690208
  1473288842240 --> 1473365816752
  1473291690208 --> 1473288842240
  1473290825280 --> 1473365806992
  1473291690208 --> 1473290825280

🛈 DocStrings

Bases: ChartMixin, QChart

Source code in prettyqt\charts\chart.py
class Chart(ChartMixin, charts.QChart):
    pass

⌗ Property table

Qt Property Type Doc
objectName QString
parent QGraphicsObject
opacity double
enabled bool
visible bool
pos QPointF
x double
y double
z double
rotation double
scale double
transformOriginPoint QPointF
effect QGraphicsEffect
children QDeclarativeListProperty
width double
height double
palette QPalette
font QFont
layoutDirection Qt::LayoutDirection
size QSizeF
minimumSize QSizeF
preferredSize QSizeF
maximumSize QSizeF
sizePolicy QSizePolicy
focusPolicy Qt::FocusPolicy
windowFlags QFlags
windowTitle QString
geometry QRectF
autoFillBackground bool
layout QGraphicsLayout
theme QChart::ChartTheme
title QString
backgroundVisible bool
dropShadowEnabled bool
backgroundRoundness double
animationOptions QFlags
animationDuration int
animationEasingCurve QEasingCurve
margins QMargins
chartType QChart::ChartType
plotAreaBackgroundVisible bool
localizeNumbers bool
locale QLocale
plotArea QRectF