内容表

上一话题

QtCharts.QCategoryAxis

下一话题

QtCharts.QChartView

QtCharts.QChart

Inheritance diagram of PySide2.QtCharts.QtCharts.QChart

继承者: QtCharts.QPolarChart

New in version 5.7.

概要

函数

信号

详细描述

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

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

参数
  • 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 )
参数
  • axis – QAbstractAxis

  • alignment – Alignment

PySide2.QtCharts.QtCharts.QChart. addSeries ( series )
参数

series – QAbstractSeries

PySide2.QtCharts.QtCharts.QChart. animationDuration ( )
返回类型

int

PySide2.QtCharts.QtCharts.QChart. animationEasingCurve ( )
返回类型

QEasingCurve

PySide2.QtCharts.QtCharts.QChart. animationOptions ( )
返回类型

AnimationOptions

PySide2.QtCharts.QtCharts.QChart. axes ( [ orientation=Qt.Horizontal|Qt.Vertical [ , series=None ] ] )
参数
  • orientation – Orientations

  • series – QAbstractSeries

返回类型

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

series – QAbstractSeries

返回类型

QAbstractAxis

注意

此函数被弃用。

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

series – QAbstractSeries

返回类型

QAbstractAxis

注意

此函数被弃用。

PySide2.QtCharts.QtCharts.QChart. backgroundBrush ( )
返回类型

QBrush

PySide2.QtCharts.QtCharts.QChart. backgroundPen ( )
返回类型

QPen

PySide2.QtCharts.QtCharts.QChart. backgroundRoundness ( )
返回类型

qreal

PySide2.QtCharts.QtCharts.QChart. chartType ( )
返回类型

ChartType

PySide2.QtCharts.QtCharts.QChart. createDefaultAxes ( )
PySide2.QtCharts.QtCharts.QChart. isBackgroundVisible ( )
返回类型

bool

PySide2.QtCharts.QtCharts.QChart. isDropShadowEnabled ( )
返回类型

bool

PySide2.QtCharts.QtCharts.QChart. isPlotAreaBackgroundVisible ( )
返回类型

bool

PySide2.QtCharts.QtCharts.QChart. isZoomed ( )
返回类型

bool

PySide2.QtCharts.QtCharts.QChart. legend ( )
返回类型

QLegend

PySide2.QtCharts.QtCharts.QChart. locale ( )
返回类型

QLocale

PySide2.QtCharts.QtCharts.QChart. localizeNumbers ( )
返回类型

bool

PySide2.QtCharts.QtCharts.QChart. mapToPosition ( value [ , series=None ] )
参数
  • value – QPointF

  • series – QAbstractSeries

返回类型

QPointF

PySide2.QtCharts.QtCharts.QChart. mapToValue ( position [ , series=None ] )
参数
  • position – QPointF

  • series – QAbstractSeries

返回类型

QPointF

PySide2.QtCharts.QtCharts.QChart. margins ( )
返回类型

QMargins

PySide2.QtCharts.QtCharts.QChart. plotArea ( )
返回类型

QRectF

PySide2.QtCharts.QtCharts.QChart. plotAreaBackgroundBrush ( )
返回类型

QBrush

PySide2.QtCharts.QtCharts.QChart. plotAreaBackgroundPen ( )
返回类型

QPen

PySide2.QtCharts.QtCharts.QChart. plotAreaChanged ( plotArea )
参数

plotArea – QRectF

PySide2.QtCharts.QtCharts.QChart. removeAllSeries ( )
PySide2.QtCharts.QtCharts.QChart. removeAxis ( axis )
参数

axis – QAbstractAxis

PySide2.QtCharts.QtCharts.QChart. removeSeries ( series )
参数

series – QAbstractSeries

PySide2.QtCharts.QtCharts.QChart. scroll ( dx , dy )
参数
  • dx – qreal

  • dy – qreal

PySide2.QtCharts.QtCharts.QChart. series ( )
返回类型

PySide2.QtCharts.QtCharts.QChart. setAnimationDuration ( msecs )
参数

msecs – int

PySide2.QtCharts.QtCharts.QChart. setAnimationEasingCurve ( curve )
参数

curve – QEasingCurve

PySide2.QtCharts.QtCharts.QChart. setAnimationOptions ( options )
参数

options – AnimationOptions

PySide2.QtCharts.QtCharts.QChart. setAxisX ( axis [ , series=None ] )
参数
  • axis – QAbstractAxis

  • series – QAbstractSeries

注意

此函数被弃用。

PySide2.QtCharts.QtCharts.QChart. setAxisY ( axis [ , series=None ] )
参数
  • axis – QAbstractAxis

  • series – QAbstractSeries

注意

此函数被弃用。

PySide2.QtCharts.QtCharts.QChart. setBackgroundBrush ( brush )
参数

brush – QBrush

PySide2.QtCharts.QtCharts.QChart. setBackgroundPen ( pen )
参数

pen – QPen

PySide2.QtCharts.QtCharts.QChart. setBackgroundRoundness ( diameter )
参数

diameter – qreal

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

visible – bool

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

enabled – bool

PySide2.QtCharts.QtCharts.QChart. setLocale ( locale )
参数

locale – QLocale

PySide2.QtCharts.QtCharts.QChart. setLocalizeNumbers ( localize )
参数

localize – bool

PySide2.QtCharts.QtCharts.QChart. setMargins ( margins )
参数

margins – QMargins

PySide2.QtCharts.QtCharts.QChart. setPlotArea ( rect )
参数

rect – QRectF

PySide2.QtCharts.QtCharts.QChart. setPlotAreaBackgroundBrush ( brush )
参数

brush – QBrush

PySide2.QtCharts.QtCharts.QChart. setPlotAreaBackgroundPen ( pen )
参数

pen – QPen

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

visible – bool

PySide2.QtCharts.QtCharts.QChart. setTheme ( theme )
参数

theme – ChartTheme

PySide2.QtCharts.QtCharts.QChart. setTitle ( title )
参数

title – unicode

PySide2.QtCharts.QtCharts.QChart. setTitleBrush ( brush )
参数

brush – QBrush

PySide2.QtCharts.QtCharts.QChart. setTitleFont ( font )
参数

font – QFont

PySide2.QtCharts.QtCharts.QChart. theme ( )
返回类型

ChartTheme

PySide2.QtCharts.QtCharts.QChart. title ( )
返回类型

unicode

PySide2.QtCharts.QtCharts.QChart. titleBrush ( )
返回类型

QBrush

PySide2.QtCharts.QtCharts.QChart. titleFont ( )
返回类型

QFont

PySide2.QtCharts.QtCharts.QChart. zoom ( factor )
参数

factor – qreal

PySide2.QtCharts.QtCharts.QChart. zoomIn ( )
PySide2.QtCharts.QtCharts.QChart. zoomIn ( rect )
参数

rect – QRectF

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