Skip to content

Chart

Base classes

Name Children Inherits
ChartMixin
prettyqt.charts.chart
QChart
PySide6.QtCharts
QChart(self, type: PySide6.QtCharts.QChart.ChartType, parent: PySide6.QtWidgets.QGraphicsItem, wFlags: PySide6.QtCore.Qt.WindowType, /, *, theme: PySide6.QtCharts.QChart.ChartTheme | None \= None, title: str | None \= None, backgroundVisible: bool | None \= None, dropShadowEnabled: bool | None \= None, backgroundRoundness: float | None \= None, animationOptions: PySide6.QtCharts.QChart.AnimationOption | None \= None, animationDuration: int | None \= None, animationEasingCurve: PySide6.QtCore.QEasingCurve | None \= None, margins: PySide6.QtCore.QMargins | None \= None, chartType: PySide6.QtCharts.QChart.ChartType | None \= None, plotAreaBackgroundVisible: bool | None \= None, localizeNumbers: bool | None \= None, locale: PySide6.QtCore.QLocale | None \= None, plotArea: PySide6.QtCore.QRectF | None \= None) -> None

⋔ Inheritance diagram

graph TD
  1063583850["charts.Chart"]
  2717399598["charts.ChartMixin"]
  1217014474["widgets.GraphicsWidgetMixin"]
  1453500865["widgets.GraphicsObjectMixin"]
  3227531497["core.ObjectMixin"]
  2751680898["builtins.object"]
  1638127052["widgets.GraphicsItemMixin"]
  1752462451["widgets.GraphicsLayoutItemMixin"]
  3027499738["QtCharts.QChart"]
  356746758["QtWidgets.QGraphicsWidget"]
  941044538["QtWidgets.QGraphicsObject"]
  3984060476["QtCore.QObject"]
  37984305["Shiboken.Object"]
  2584426969["QtWidgets.QGraphicsItem"]
  2053307106["QtWidgets.QGraphicsLayoutItem"]
  2717399598 --> 1063583850
  1217014474 --> 2717399598
  1453500865 --> 1217014474
  3227531497 --> 1453500865
  2751680898 --> 3227531497
  1638127052 --> 1453500865
  2751680898 --> 1638127052
  2751680898 --> 1453500865
  1752462451 --> 1217014474
  2751680898 --> 1752462451
  2751680898 --> 1217014474
  2751680898 --> 2717399598
  3027499738 --> 1063583850
  356746758 --> 3027499738
  941044538 --> 356746758
  3984060476 --> 941044538
  37984305 --> 3984060476
  2751680898 --> 37984305
  2584426969 --> 941044538
  37984305 --> 2584426969
  2053307106 --> 356746758
  37984305 --> 2053307106

🛈 DocStrings

Bases: ChartMixin, QChart

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

:fa-brands-github: Show source on GitHub