QtCharts.QChart¶
Inherited by: QtCharts.QPolarChart
New in version 5.7.
Synopsis¶
Functions¶
def
addAxis
(axis, alignment)def
addSeries
(series)def
animationDuration
()def
animationEasingCurve
()def
animationOptions
()def
axes
([orientation=Qt.Horizontal|Qt.Vertical[, series=None]])def
axisX
([series=None])def
axisY
([series=None])def
backgroundBrush
()def
backgroundPen
()def
backgroundRoundness
()def
chartType
()def
createDefaultAxes
()def
isBackgroundVisible
()def
isDropShadowEnabled
()def
isPlotAreaBackgroundVisible
()def
isZoomed
()def
legend
()def
locale
()def
localizeNumbers
()def
mapToPosition
(value[, series=None])def
mapToValue
(position[, series=None])def
margins
()def
plotArea
()def
plotAreaBackgroundBrush
()def
plotAreaBackgroundPen
()def
removeAllSeries
()def
removeAxis
(axis)def
removeSeries
(series)def
scroll
(dx, dy)def
series
()def
setAnimationDuration
(msecs)def
setAnimationEasingCurve
(curve)def
setAnimationOptions
(options)def
setAxisX
(axis[, series=None])def
setAxisY
(axis[, series=None])def
setBackgroundBrush
(brush)def
setBackgroundPen
(pen)def
setBackgroundRoundness
(diameter)def
setBackgroundVisible
([visible=true])def
setDropShadowEnabled
([enabled=true])def
setLocale
(locale)def
setLocalizeNumbers
(localize)def
setMargins
(margins)def
setPlotArea
(rect)def
setPlotAreaBackgroundBrush
(brush)def
setPlotAreaBackgroundPen
(pen)def
setPlotAreaBackgroundVisible
([visible=true])def
setTheme
(theme)def
setTitle
(title)def
setTitleBrush
(brush)def
setTitleFont
(font)def
theme
()def
title
()def
titleBrush
()def
titleFont
()def
zoom
(factor)def
zoomIn
()def
zoomIn
(rect)def
zoomOut
()def
zoomReset
()
Signals¶
def
plotAreaChanged
(plotArea)
Detailed Description¶
-
class
PySide2.QtCharts.QtCharts.
QChart
([parent=None[, wFlags=Qt.WindowFlags()]])¶ PySide2.QtCharts.QtCharts.QChart(type, parent, wFlags)
- Parameters
type –
ChartType
parent –
QGraphicsItem
wFlags –
WindowFlags
-
PySide2.QtCharts.QtCharts.QChart.
ChartType
¶
-
PySide2.QtCharts.QtCharts.QChart.
ChartTheme
¶
-
PySide2.QtCharts.QtCharts.QChart.
AnimationOption
¶
-
PySide2.QtCharts.QtCharts.QChart.
addAxis
(axis, alignment)¶ - Parameters
axis –
QAbstractAxis
alignment –
Alignment
-
PySide2.QtCharts.QtCharts.QChart.
addSeries
(series)¶ - Parameters
series –
QAbstractSeries
-
PySide2.QtCharts.QtCharts.QChart.
animationDuration
()¶ - Return type
int
-
PySide2.QtCharts.QtCharts.QChart.
animationEasingCurve
()¶ - Return type
QEasingCurve
-
PySide2.QtCharts.QtCharts.QChart.
animationOptions
()¶ - Return type
AnimationOptions
-
PySide2.QtCharts.QtCharts.QChart.
axes
([orientation=Qt.Horizontal|Qt.Vertical[, series=None]])¶ - Parameters
orientation –
Orientations
series –
QAbstractSeries
- Return type
-
PySide2.QtCharts.QtCharts.QChart.
axisX
([series=None])¶ - Parameters
series –
QAbstractSeries
- Return type
QAbstractAxis
Note
This function is deprecated.
-
PySide2.QtCharts.QtCharts.QChart.
axisY
([series=None])¶ - Parameters
series –
QAbstractSeries
- Return type
QAbstractAxis
Note
This function is deprecated.
-
PySide2.QtCharts.QtCharts.QChart.
backgroundBrush
()¶ - Return type
QBrush
-
PySide2.QtCharts.QtCharts.QChart.
backgroundPen
()¶ - Return type
QPen
-
PySide2.QtCharts.QtCharts.QChart.
backgroundRoundness
()¶ - Return type
qreal
-
PySide2.QtCharts.QtCharts.QChart.
createDefaultAxes
()¶
-
PySide2.QtCharts.QtCharts.QChart.
isBackgroundVisible
()¶ - Return type
bool
-
PySide2.QtCharts.QtCharts.QChart.
isDropShadowEnabled
()¶ - Return type
bool
-
PySide2.QtCharts.QtCharts.QChart.
isPlotAreaBackgroundVisible
()¶ - Return type
bool
-
PySide2.QtCharts.QtCharts.QChart.
isZoomed
()¶ - Return type
bool
-
PySide2.QtCharts.QtCharts.QChart.
legend
()¶ - Return type
QLegend
-
PySide2.QtCharts.QtCharts.QChart.
locale
()¶ - Return type
QLocale
-
PySide2.QtCharts.QtCharts.QChart.
localizeNumbers
()¶ - Return type
bool
-
PySide2.QtCharts.QtCharts.QChart.
mapToPosition
(value[, series=None])¶ - Parameters
value –
QPointF
series –
QAbstractSeries
- Return type
QPointF
-
PySide2.QtCharts.QtCharts.QChart.
mapToValue
(position[, series=None])¶ - Parameters
position –
QPointF
series –
QAbstractSeries
- Return type
QPointF
-
PySide2.QtCharts.QtCharts.QChart.
margins
()¶ - Return type
QMargins
-
PySide2.QtCharts.QtCharts.QChart.
plotArea
()¶ - Return type
QRectF
-
PySide2.QtCharts.QtCharts.QChart.
plotAreaBackgroundBrush
()¶ - Return type
QBrush
-
PySide2.QtCharts.QtCharts.QChart.
plotAreaBackgroundPen
()¶ - Return type
QPen
-
PySide2.QtCharts.QtCharts.QChart.
plotAreaChanged
(plotArea)¶ - Parameters
plotArea –
QRectF
-
PySide2.QtCharts.QtCharts.QChart.
removeAllSeries
()¶
-
PySide2.QtCharts.QtCharts.QChart.
removeAxis
(axis)¶ - Parameters
axis –
QAbstractAxis
-
PySide2.QtCharts.QtCharts.QChart.
removeSeries
(series)¶ - Parameters
series –
QAbstractSeries
-
PySide2.QtCharts.QtCharts.QChart.
scroll
(dx, dy)¶ - Parameters
dx –
qreal
dy –
qreal
-
PySide2.QtCharts.QtCharts.QChart.
series
()¶ - Return type
-
PySide2.QtCharts.QtCharts.QChart.
setAnimationDuration
(msecs)¶ - Parameters
msecs –
int
-
PySide2.QtCharts.QtCharts.QChart.
setAnimationEasingCurve
(curve)¶ - Parameters
curve –
QEasingCurve
-
PySide2.QtCharts.QtCharts.QChart.
setAnimationOptions
(options)¶ - Parameters
options –
AnimationOptions
-
PySide2.QtCharts.QtCharts.QChart.
setAxisX
(axis[, series=None])¶ - Parameters
axis –
QAbstractAxis
series –
QAbstractSeries
Note
This function is deprecated.
-
PySide2.QtCharts.QtCharts.QChart.
setAxisY
(axis[, series=None])¶ - Parameters
axis –
QAbstractAxis
series –
QAbstractSeries
Note
This function is deprecated.
-
PySide2.QtCharts.QtCharts.QChart.
setBackgroundBrush
(brush)¶ - Parameters
brush –
QBrush
-
PySide2.QtCharts.QtCharts.QChart.
setBackgroundPen
(pen)¶ - Parameters
pen –
QPen
-
PySide2.QtCharts.QtCharts.QChart.
setBackgroundRoundness
(diameter)¶ - Parameters
diameter –
qreal
-
PySide2.QtCharts.QtCharts.QChart.
setBackgroundVisible
([visible=true])¶ - Parameters
visible –
bool
-
PySide2.QtCharts.QtCharts.QChart.
setDropShadowEnabled
([enabled=true])¶ - Parameters
enabled –
bool
-
PySide2.QtCharts.QtCharts.QChart.
setLocale
(locale)¶ - Parameters
locale –
QLocale
-
PySide2.QtCharts.QtCharts.QChart.
setLocalizeNumbers
(localize)¶ - Parameters
localize –
bool
-
PySide2.QtCharts.QtCharts.QChart.
setMargins
(margins)¶ - Parameters
margins –
QMargins
-
PySide2.QtCharts.QtCharts.QChart.
setPlotArea
(rect)¶ - Parameters
rect –
QRectF
-
PySide2.QtCharts.QtCharts.QChart.
setPlotAreaBackgroundBrush
(brush)¶ - Parameters
brush –
QBrush
-
PySide2.QtCharts.QtCharts.QChart.
setPlotAreaBackgroundPen
(pen)¶ - Parameters
pen –
QPen
-
PySide2.QtCharts.QtCharts.QChart.
setPlotAreaBackgroundVisible
([visible=true])¶ - Parameters
visible –
bool
-
PySide2.QtCharts.QtCharts.QChart.
setTheme
(theme)¶ - Parameters
theme –
ChartTheme
-
PySide2.QtCharts.QtCharts.QChart.
setTitle
(title)¶ - Parameters
title – unicode
-
PySide2.QtCharts.QtCharts.QChart.
setTitleBrush
(brush)¶ - Parameters
brush –
QBrush
-
PySide2.QtCharts.QtCharts.QChart.
setTitleFont
(font)¶ - Parameters
font –
QFont
-
PySide2.QtCharts.QtCharts.QChart.
theme
()¶ - Return type
-
PySide2.QtCharts.QtCharts.QChart.
title
()¶ - Return type
unicode
-
PySide2.QtCharts.QtCharts.QChart.
titleBrush
()¶ - Return type
QBrush
-
PySide2.QtCharts.QtCharts.QChart.
titleFont
()¶ - Return type
QFont
-
PySide2.QtCharts.QtCharts.QChart.
zoom
(factor)¶ - Parameters
factor –
qreal
-
PySide2.QtCharts.QtCharts.QChart.
zoomIn
()¶
-
PySide2.QtCharts.QtCharts.QChart.
zoomIn
(rect) - Parameters
rect –
QRectF
-
PySide2.QtCharts.QtCharts.QChart.
zoomOut
()¶
-
PySide2.QtCharts.QtCharts.QChart.
zoomReset
()¶
© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.