QChart

Inheritance diagram of PySide2.QtCharts.QtCharts.QChart

Inherited by: QPolarChart

New in version 5.7.

Synopsis

Functions

Signals

Detailed Description

class PySide2.QtCharts.QtCharts.QChart([parent=None[, wFlags=Qt.WindowFlags()]])

PySide2.QtCharts.QtCharts.QChart(type, parent, wFlags)

Parameters:
PySide2.QtCharts.QtCharts.QChart.ChartType
PySide2.QtCharts.QtCharts.QChart.ChartTheme
PySide2.QtCharts.QtCharts.QChart.AnimationOption
PySide2.QtCharts.QtCharts.QChart.addAxis(axis, alignment)
Parameters:
PySide2.QtCharts.QtCharts.QChart.addSeries(series)
Parameters:

seriesPySide2.QtCharts.QtCharts.QAbstractSeries

PySide2.QtCharts.QtCharts.QChart.animationDuration()
Return type:

int

PySide2.QtCharts.QtCharts.QChart.animationEasingCurve()
Return type:

PySide2.QtCore.QEasingCurve

PySide2.QtCharts.QtCharts.QChart.animationOptions()
Return type:

AnimationOptions

PySide2.QtCharts.QtCharts.QChart.axes([orientation=Qt.Horizontal|Qt.Vertical[, series=None]])
Parameters:
Return type:

PySide2.QtCharts.QtCharts.QChart.axisX([series=None])
Parameters:

seriesPySide2.QtCharts.QtCharts.QAbstractSeries

Return type:

PySide2.QtCharts.QtCharts.QAbstractAxis

Note

This function is deprecated.

PySide2.QtCharts.QtCharts.QChart.axisY([series=None])
Parameters:

seriesPySide2.QtCharts.QtCharts.QAbstractSeries

Return type:

PySide2.QtCharts.QtCharts.QAbstractAxis

Note

This function is deprecated.

PySide2.QtCharts.QtCharts.QChart.backgroundBrush()
Return type:

PySide2.QtGui.QBrush

PySide2.QtCharts.QtCharts.QChart.backgroundPen()
Return type:

PySide2.QtGui.QPen

PySide2.QtCharts.QtCharts.QChart.backgroundRoundness()
Return type:

float

PySide2.QtCharts.QtCharts.QChart.chartType()
Return type:

ChartType

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:

PySide2.QtCharts.QtCharts.QLegend

PySide2.QtCharts.QtCharts.QChart.locale()
Return type:

PySide2.QtCore.QLocale

PySide2.QtCharts.QtCharts.QChart.localizeNumbers()
Return type:

bool

PySide2.QtCharts.QtCharts.QChart.mapToPosition(value[, series=None])
Parameters:
Return type:

PySide2.QtCore.QPointF

PySide2.QtCharts.QtCharts.QChart.mapToValue(position[, series=None])
Parameters:
Return type:

PySide2.QtCore.QPointF

PySide2.QtCharts.QtCharts.QChart.margins()
Return type:

PySide2.QtCore.QMargins

PySide2.QtCharts.QtCharts.QChart.plotArea()
Return type:

PySide2.QtCore.QRectF

PySide2.QtCharts.QtCharts.QChart.plotAreaBackgroundBrush()
Return type:

PySide2.QtGui.QBrush

PySide2.QtCharts.QtCharts.QChart.plotAreaBackgroundPen()
Return type:

PySide2.QtGui.QPen

PySide2.QtCharts.QtCharts.QChart.plotAreaChanged(plotArea)
Parameters:

plotAreaPySide2.QtCore.QRectF

PySide2.QtCharts.QtCharts.QChart.removeAllSeries()
PySide2.QtCharts.QtCharts.QChart.removeAxis(axis)
Parameters:

axisPySide2.QtCharts.QtCharts.QAbstractAxis

PySide2.QtCharts.QtCharts.QChart.removeSeries(series)
Parameters:

seriesPySide2.QtCharts.QtCharts.QAbstractSeries

PySide2.QtCharts.QtCharts.QChart.scroll(dx, dy)
Parameters:
  • dx – float

  • dy – float

PySide2.QtCharts.QtCharts.QChart.series()
Return type:

PySide2.QtCharts.QtCharts.QChart.setAnimationDuration(msecs)
Parameters:

msecs – int

PySide2.QtCharts.QtCharts.QChart.setAnimationEasingCurve(curve)
Parameters:

curvePySide2.QtCore.QEasingCurve

PySide2.QtCharts.QtCharts.QChart.setAnimationOptions(options)
Parameters:

optionsAnimationOptions

PySide2.QtCharts.QtCharts.QChart.setAxisX(axis[, series=None])
Parameters:

Note

This function is deprecated.

PySide2.QtCharts.QtCharts.QChart.setAxisY(axis[, series=None])
Parameters:

Note

This function is deprecated.

PySide2.QtCharts.QtCharts.QChart.setBackgroundBrush(brush)
Parameters:

brushPySide2.QtGui.QBrush

PySide2.QtCharts.QtCharts.QChart.setBackgroundPen(pen)
Parameters:

penPySide2.QtGui.QPen

PySide2.QtCharts.QtCharts.QChart.setBackgroundRoundness(diameter)
Parameters:

diameter – float

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:

localePySide2.QtCore.QLocale

PySide2.QtCharts.QtCharts.QChart.setLocalizeNumbers(localize)
Parameters:

localize – bool

PySide2.QtCharts.QtCharts.QChart.setMargins(margins)
Parameters:

marginsPySide2.QtCore.QMargins

PySide2.QtCharts.QtCharts.QChart.setPlotArea(rect)
Parameters:

rectPySide2.QtCore.QRectF

PySide2.QtCharts.QtCharts.QChart.setPlotAreaBackgroundBrush(brush)
Parameters:

brushPySide2.QtGui.QBrush

PySide2.QtCharts.QtCharts.QChart.setPlotAreaBackgroundPen(pen)
Parameters:

penPySide2.QtGui.QPen

PySide2.QtCharts.QtCharts.QChart.setPlotAreaBackgroundVisible([visible=true])
Parameters:

visible – bool

PySide2.QtCharts.QtCharts.QChart.setTheme(theme)
Parameters:

themeChartTheme

PySide2.QtCharts.QtCharts.QChart.setTitle(title)
Parameters:

title – str

PySide2.QtCharts.QtCharts.QChart.setTitleBrush(brush)
Parameters:

brushPySide2.QtGui.QBrush

PySide2.QtCharts.QtCharts.QChart.setTitleFont(font)
Parameters:

fontPySide2.QtGui.QFont

PySide2.QtCharts.QtCharts.QChart.theme()
Return type:

ChartTheme

PySide2.QtCharts.QtCharts.QChart.title()
Return type:

str

PySide2.QtCharts.QtCharts.QChart.titleBrush()
Return type:

PySide2.QtGui.QBrush

PySide2.QtCharts.QtCharts.QChart.titleFont()
Return type:

PySide2.QtGui.QFont

PySide2.QtCharts.QtCharts.QChart.zoom(factor)
Parameters:

factor – float

PySide2.QtCharts.QtCharts.QChart.zoomIn()
PySide2.QtCharts.QtCharts.QChart.zoomIn(rect)
Parameters:

rectPySide2.QtCore.QRectF

PySide2.QtCharts.QtCharts.QChart.zoomOut()
PySide2.QtCharts.QtCharts.QChart.zoomReset()