QtCharts.QChart

Inheritance diagram of PySide2.QtCharts.QtCharts.QChart

Inherited by: QtCharts.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
  • typeChartType

  • parentQGraphicsItem

  • wFlagsWindowFlags

PySide2.QtCharts.QtCharts.QChart.ChartType
PySide2.QtCharts.QtCharts.QChart.ChartTheme
PySide2.QtCharts.QtCharts.QChart.AnimationOption
PySide2.QtCharts.QtCharts.QChart.addAxis(axis, alignment)
Parameters
  • axisQAbstractAxis

  • alignmentAlignment

PySide2.QtCharts.QtCharts.QChart.addSeries(series)
Parameters

seriesQAbstractSeries

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
  • orientationOrientations

  • seriesQAbstractSeries

Return type

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

seriesQAbstractSeries

Return type

QAbstractAxis

Note

This function is deprecated.

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

seriesQAbstractSeries

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.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

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
  • valueQPointF

  • seriesQAbstractSeries

Return type

QPointF

PySide2.QtCharts.QtCharts.QChart.mapToValue(position[, series=None])
Parameters
  • positionQPointF

  • seriesQAbstractSeries

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

plotAreaQRectF

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

axisQAbstractAxis

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

seriesQAbstractSeries

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

  • dyqreal

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

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

msecsint

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

curveQEasingCurve

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

optionsAnimationOptions

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

  • seriesQAbstractSeries

Note

This function is deprecated.

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

  • seriesQAbstractSeries

Note

This function is deprecated.

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

brushQBrush

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

penQPen

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

diameterqreal

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

visiblebool

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

enabledbool

PySide2.QtCharts.QtCharts.QChart.setLocale(locale)
Parameters

localeQLocale

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

localizebool

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

marginsQMargins

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

rectQRectF

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

brushQBrush

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

penQPen

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

visiblebool

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

themeChartTheme

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

title – unicode

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

brushQBrush

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

fontQFont

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

ChartTheme

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

factorqreal

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

rectQRectF

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