PySide6.QtCharts.QChart¶
- class QChart¶
-
Inherited by:
QPolarChart
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
backgroundPen()
def
chartType()
def
isZoomed()
def
legend()
def
locale()
def
mapToPosition()
def
mapToValue()
def
margins()
def
plotArea()
def
scroll()
def
setLocale()
def
setMargins()
def
setPlotArea()
def
setTheme()
def
setTitle()
def
setTitleBrush()
def
setTitleFont()
def
theme()
def
title()
def
titleBrush()
def
titleFont()
def
zoom()
def
zoomIn()
def
zoomOut()
def
zoomReset()
Signals¶
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
- class ChartType¶
- class ChartTheme¶
- class AnimationOption¶
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property animationDurationᅟ: int¶
- Access functions:
- property animationEasingCurveᅟ: QEasingCurve¶
- Access functions:
- property animationOptionsᅟ: Combination of QChart.AnimationOption¶
- Access functions:
- property backgroundRoundnessᅟ: float¶
- Access functions:
- property backgroundVisibleᅟ: bool¶
- Access functions:
- property chartTypeᅟ: QChart.ChartType¶
- Access functions:
- property dropShadowEnabledᅟ: bool¶
- Access functions:
- Access functions:
- property localizeNumbersᅟ: bool¶
- Access functions:
- Access functions:
- Access functions:
- property plotAreaBackgroundVisibleᅟ: bool¶
- Access functions:
- property themeᅟ: QChart.ChartTheme¶
- Access functions:
- property titleᅟ: str¶
- Access functions:
- __init__([parent=None[, wFlags=Qt.WindowFlags()]])¶
- Parameters:
parent –
QGraphicsItem
wFlags – Combination of
WindowType
- __init__(type, parent, wFlags)
- Parameters:
type –
ChartType
parent –
QGraphicsItem
wFlags – Combination of
WindowType
- animationDuration()¶
- Return type:
int
Getter of property
animationDurationᅟ
.- animationEasingCurve()¶
- Return type:
Getter of property
animationEasingCurveᅟ
.- animationOptions()¶
- Return type:
Combination of
AnimationOption
Getter of property
animationOptionsᅟ
.- backgroundRoundness()¶
- Return type:
float
Getter of property
backgroundRoundnessᅟ
.Getter of property
chartTypeᅟ
.- createDefaultAxes()¶
- isBackgroundVisible()¶
- Return type:
bool
Getter of property
backgroundVisibleᅟ
.- isDropShadowEnabled()¶
- Return type:
bool
Getter of property
dropShadowEnabledᅟ
.- isPlotAreaBackgroundVisible()¶
- Return type:
bool
Getter of property
plotAreaBackgroundVisibleᅟ
.- isZoomed()¶
- Return type:
bool
Getter of property
localeᅟ
.- localizeNumbers()¶
- Return type:
bool
Getter of property
localizeNumbersᅟ
.Getter of property
marginsᅟ
.Getter of property
plotAreaᅟ
.Notification signal of property
plotAreaᅟ
.- removeAllSeries()¶
- scroll(dx, dy)¶
- Parameters:
dx – float
dy – float
- setAnimationDuration(msecs)¶
- Parameters:
msecs – int
Setter of property
animationDurationᅟ
.- setAnimationEasingCurve(curve)¶
- Parameters:
curve –
QEasingCurve
Setter of property
animationEasingCurveᅟ
.- setAnimationOptions(options)¶
- Parameters:
options – Combination of
AnimationOption
Setter of property
animationOptionsᅟ
.- setBackgroundRoundness(diameter)¶
- Parameters:
diameter – float
Setter of property
backgroundRoundnessᅟ
.- setBackgroundVisible([visible=true])¶
- Parameters:
visible – bool
Setter of property
backgroundVisibleᅟ
.- setDropShadowEnabled([enabled=true])¶
- Parameters:
enabled – bool
Setter of property
dropShadowEnabledᅟ
.Setter of property
localeᅟ
.- setLocalizeNumbers(localize)¶
- Parameters:
localize – bool
Setter of property
localizeNumbersᅟ
.Setter of property
marginsᅟ
.Setter of property
plotAreaᅟ
.- setPlotAreaBackgroundVisible([visible=true])¶
- Parameters:
visible – bool
Setter of property
plotAreaBackgroundVisibleᅟ
.- setTheme(theme)¶
- Parameters:
theme –
ChartTheme
Setter of property
themeᅟ
.- setTitle(title)¶
- Parameters:
title – str
Setter of property
titleᅟ
.- theme()¶
- Return type:
Getter of property
themeᅟ
.- title()¶
- Return type:
str
Getter of property
titleᅟ
.- zoom(factor)¶
- Parameters:
factor – float
- zoomIn()¶
- zoomIn(rect)
- Parameters:
rect –
QRectF
- zoomOut()¶
- zoomReset()¶