Skip to content

PolarChart

Qt Base Class: QPolarChart

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

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: ChartMixin, QPolarChart

Source code in prettyqt\charts\polarchart.py
class PolarChart(charts.ChartMixin, charts.QPolarChart):
    def add_axis(
        self,
        axis: charts.QAbstractAxis,
        orientation: PolarOrientationStr | charts.QPolarChart.PolarOrientation,
    ):
        """Add axis with given orientation."""
        self.addAxis(axis, POLAR_ORIENTATIONS.get_enum_value(orientation))

add_axis(axis: charts.QAbstractAxis, orientation: PolarOrientationStr | charts.QPolarChart.PolarOrientation)

Add axis with given orientation.

Source code in prettyqt\charts\polarchart.py
def add_axis(
    self,
    axis: charts.QAbstractAxis,
    orientation: PolarOrientationStr | charts.QPolarChart.PolarOrientation,
):
    """Add axis with given orientation."""
    self.addAxis(axis, POLAR_ORIENTATIONS.get_enum_value(orientation))

⌗ 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