QPieSlice

New in version 5.7.

Synopsis

Functions

Detailed Description

class PySide2.QtCharts.QPieSlice([parent=None])

PySide2.QtCharts.QPieSlice(label, value[, parent=None])

Parameters
PySide2.QtCharts.QPieSlice.LabelPosition
PySide2.QtCharts.QPieSlice.angleSpan()
Return type

float

PySide2.QtCharts.QPieSlice.angleSpanChanged()
PySide2.QtCharts.QPieSlice.borderColor()
Return type

PySide2.QtGui.QColor

PySide2.QtCharts.QPieSlice.borderColorChanged()
PySide2.QtCharts.QPieSlice.borderWidth()
Return type

int

PySide2.QtCharts.QPieSlice.borderWidthChanged()
PySide2.QtCharts.QPieSlice.brush()
Return type

PySide2.QtGui.QBrush

PySide2.QtCharts.QPieSlice.brushChanged()
PySide2.QtCharts.QPieSlice.clicked()
PySide2.QtCharts.QPieSlice.color()
Return type

PySide2.QtGui.QColor

PySide2.QtCharts.QPieSlice.colorChanged()
PySide2.QtCharts.QPieSlice.doubleClicked()
PySide2.QtCharts.QPieSlice.explodeDistanceFactor()
Return type

float

PySide2.QtCharts.QPieSlice.hovered(state)
Parameters

state – bool

PySide2.QtCharts.QPieSlice.isExploded()
Return type

bool

PySide2.QtCharts.QPieSlice.isLabelVisible()
Return type

bool

PySide2.QtCharts.QPieSlice.label()
Return type

str

PySide2.QtCharts.QPieSlice.labelArmLengthFactor()
Return type

float

PySide2.QtCharts.QPieSlice.labelBrush()
Return type

PySide2.QtGui.QBrush

PySide2.QtCharts.QPieSlice.labelBrushChanged()
PySide2.QtCharts.QPieSlice.labelChanged()
PySide2.QtCharts.QPieSlice.labelColor()
Return type

PySide2.QtGui.QColor

PySide2.QtCharts.QPieSlice.labelColorChanged()
PySide2.QtCharts.QPieSlice.labelFont()
Return type

PySide2.QtGui.QFont

PySide2.QtCharts.QPieSlice.labelFontChanged()
PySide2.QtCharts.QPieSlice.labelPosition()
Return type

LabelPosition

PySide2.QtCharts.QPieSlice.labelVisibleChanged()
PySide2.QtCharts.QPieSlice.pen()
Return type

PySide2.QtGui.QPen

PySide2.QtCharts.QPieSlice.penChanged()
PySide2.QtCharts.QPieSlice.percentage()
Return type

float

PySide2.QtCharts.QPieSlice.percentageChanged()
PySide2.QtCharts.QPieSlice.pressed()
PySide2.QtCharts.QPieSlice.released()
PySide2.QtCharts.QPieSlice.series()
Return type

PySide2.QtCharts.QPieSeries

PySide2.QtCharts.QPieSlice.setBorderColor(color)
Parameters

colorPySide2.QtGui.QColor

PySide2.QtCharts.QPieSlice.setBorderWidth(width)
Parameters

width – int

PySide2.QtCharts.QPieSlice.setBrush(brush)
Parameters

brushPySide2.QtGui.QBrush

PySide2.QtCharts.QPieSlice.setColor(color)
Parameters

colorPySide2.QtGui.QColor

PySide2.QtCharts.QPieSlice.setExplodeDistanceFactor(factor)
Parameters

factor – float

PySide2.QtCharts.QPieSlice.setExploded([exploded=true])
Parameters

exploded – bool

PySide2.QtCharts.QPieSlice.setLabel(label)
Parameters

label – str

PySide2.QtCharts.QPieSlice.setLabelArmLengthFactor(factor)
Parameters

factor – float

PySide2.QtCharts.QPieSlice.setLabelBrush(brush)
Parameters

brushPySide2.QtGui.QBrush

PySide2.QtCharts.QPieSlice.setLabelColor(color)
Parameters

colorPySide2.QtGui.QColor

PySide2.QtCharts.QPieSlice.setLabelFont(font)
Parameters

fontPySide2.QtGui.QFont

PySide2.QtCharts.QPieSlice.setLabelPosition(position)
Parameters

positionLabelPosition

PySide2.QtCharts.QPieSlice.setLabelVisible([visible=true])
Parameters

visible – bool

PySide2.QtCharts.QPieSlice.setPen(pen)
Parameters

penPySide2.QtGui.QPen

PySide2.QtCharts.QPieSlice.setValue(value)
Parameters

value – float

PySide2.QtCharts.QPieSlice.startAngle()
Return type

float

PySide2.QtCharts.QPieSlice.startAngleChanged()
PySide2.QtCharts.QPieSlice.value()
Return type

float

PySide2.QtCharts.QPieSlice.valueChanged()