QChart

Inherited by: QPolarChart

New in version 5.7.

Synopsis

Functions

Signals

Detailed Description

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

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

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

seriesPySide2.QtCharts.QAbstractSeries

PySide2.QtCharts.QChart.animationDuration()
Return type

int

PySide2.QtCharts.QChart.animationEasingCurve()
Return type

PySide2.QtCore.QEasingCurve

PySide2.QtCharts.QChart.animationOptions()
Return type

AnimationOptions

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

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

seriesPySide2.QtCharts.QAbstractSeries

Return type

PySide2.QtCharts.QAbstractAxis

Note

This function is deprecated.

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

seriesPySide2.QtCharts.QAbstractSeries

Return type

PySide2.QtCharts.QAbstractAxis

Note

This function is deprecated.

PySide2.QtCharts.QChart.backgroundBrush()
Return type

PySide2.QtGui.QBrush

PySide2.QtCharts.QChart.backgroundPen()
Return type

PySide2.QtGui.QPen

PySide2.QtCharts.QChart.backgroundRoundness()
Return type

float

PySide2.QtCharts.QChart.chartType()
Return type

ChartType

PySide2.QtCharts.QChart.createDefaultAxes()
PySide2.QtCharts.QChart.isBackgroundVisible()
Return type

bool

PySide2.QtCharts.QChart.isDropShadowEnabled()
Return type

bool

PySide2.QtCharts.QChart.isPlotAreaBackgroundVisible()
Return type

bool

PySide2.QtCharts.QChart.isZoomed()
Return type

bool

PySide2.QtCharts.QChart.legend()
Return type

PySide2.QtCharts.QLegend

PySide2.QtCharts.QChart.locale()
Return type

PySide2.QtCore.QLocale

PySide2.QtCharts.QChart.localizeNumbers()
Return type

bool

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

PySide2.QtCore.QPointF

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

PySide2.QtCore.QPointF

PySide2.QtCharts.QChart.margins()
Return type

PySide2.QtCore.QMargins

PySide2.QtCharts.QChart.plotArea()
Return type

PySide2.QtCore.QRectF

PySide2.QtCharts.QChart.plotAreaBackgroundBrush()
Return type

PySide2.QtGui.QBrush

PySide2.QtCharts.QChart.plotAreaBackgroundPen()
Return type

PySide2.QtGui.QPen

PySide2.QtCharts.QChart.plotAreaChanged(plotArea)
Parameters

plotAreaPySide2.QtCore.QRectF

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

axisPySide2.QtCharts.QAbstractAxis

PySide2.QtCharts.QChart.removeSeries(series)
Parameters

seriesPySide2.QtCharts.QAbstractSeries

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

  • dy – float

PySide2.QtCharts.QChart.series()
Return type

PySide2.QtCharts.QChart.setAnimationDuration(msecs)
Parameters

msecs – int

PySide2.QtCharts.QChart.setAnimationEasingCurve(curve)
Parameters

curvePySide2.QtCore.QEasingCurve

PySide2.QtCharts.QChart.setAnimationOptions(options)
Parameters

optionsAnimationOptions

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

Note

This function is deprecated.

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

Note

This function is deprecated.

PySide2.QtCharts.QChart.setBackgroundBrush(brush)
Parameters

brushPySide2.QtGui.QBrush

PySide2.QtCharts.QChart.setBackgroundPen(pen)
Parameters

penPySide2.QtGui.QPen

PySide2.QtCharts.QChart.setBackgroundRoundness(diameter)
Parameters

diameter – float

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

visible – bool

PySide2.QtCharts.QChart.setDropShadowEnabled([enabled=true])
Parameters

enabled – bool

PySide2.QtCharts.QChart.setLocale(locale)
Parameters

localePySide2.QtCore.QLocale

PySide2.QtCharts.QChart.setLocalizeNumbers(localize)
Parameters

localize – bool

PySide2.QtCharts.QChart.setMargins(margins)
Parameters

marginsPySide2.QtCore.QMargins

PySide2.QtCharts.QChart.setPlotArea(rect)
Parameters

rectPySide2.QtCore.QRectF

PySide2.QtCharts.QChart.setPlotAreaBackgroundBrush(brush)
Parameters

brushPySide2.QtGui.QBrush

PySide2.QtCharts.QChart.setPlotAreaBackgroundPen(pen)
Parameters

penPySide2.QtGui.QPen

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

visible – bool

PySide2.QtCharts.QChart.setTheme(theme)
Parameters

themeChartTheme

PySide2.QtCharts.QChart.setTitle(title)
Parameters

title – str

PySide2.QtCharts.QChart.setTitleBrush(brush)
Parameters

brushPySide2.QtGui.QBrush

PySide2.QtCharts.QChart.setTitleFont(font)
Parameters

fontPySide2.QtGui.QFont

PySide2.QtCharts.QChart.theme()
Return type

ChartTheme

PySide2.QtCharts.QChart.title()
Return type

str

PySide2.QtCharts.QChart.titleBrush()
Return type

PySide2.QtGui.QBrush

PySide2.QtCharts.QChart.titleFont()
Return type

PySide2.QtGui.QFont

PySide2.QtCharts.QChart.zoom(factor)
Parameters

factor – float

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

rectPySide2.QtCore.QRectF

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