QLegend

Inheritance diagram of PySide2.QtCharts.QtCharts.QLegend

New in version 5.7.

Synopsis

Functions

Signals

Detailed Description

class PySide2.QtCharts.QtCharts.QLegend
PySide2.QtCharts.QtCharts.QLegend.MarkerShape
PySide2.QtCharts.QtCharts.QLegend.alignment()
Return type

Alignment

PySide2.QtCharts.QtCharts.QLegend.attachToChart()
PySide2.QtCharts.QtCharts.QLegend.backgroundVisibleChanged(visible)
Parameters

visible – bool

PySide2.QtCharts.QtCharts.QLegend.borderColor()
Return type

PySide2.QtGui.QColor

PySide2.QtCharts.QtCharts.QLegend.borderColorChanged(color)
Parameters

colorPySide2.QtGui.QColor

PySide2.QtCharts.QtCharts.QLegend.brush()
Return type

PySide2.QtGui.QBrush

PySide2.QtCharts.QtCharts.QLegend.color()
Return type

PySide2.QtGui.QColor

PySide2.QtCharts.QtCharts.QLegend.colorChanged(color)
Parameters

colorPySide2.QtGui.QColor

PySide2.QtCharts.QtCharts.QLegend.detachFromChart()
PySide2.QtCharts.QtCharts.QLegend.fontChanged(font)
Parameters

fontPySide2.QtGui.QFont

PySide2.QtCharts.QtCharts.QLegend.isAttachedToChart()
Return type

bool

PySide2.QtCharts.QtCharts.QLegend.isBackgroundVisible()
Return type

bool

PySide2.QtCharts.QtCharts.QLegend.labelBrush()
Return type

PySide2.QtGui.QBrush

PySide2.QtCharts.QtCharts.QLegend.labelColor()
Return type

PySide2.QtGui.QColor

PySide2.QtCharts.QtCharts.QLegend.labelColorChanged(color)
Parameters

colorPySide2.QtGui.QColor

PySide2.QtCharts.QtCharts.QLegend.markerShape()
Return type

MarkerShape

PySide2.QtCharts.QtCharts.QLegend.markerShapeChanged(shape)
Parameters

shapeMarkerShape

PySide2.QtCharts.QtCharts.QLegend.markers([series=None])
Parameters

seriesPySide2.QtCharts.QtCharts.QAbstractSeries

Return type

PySide2.QtCharts.QtCharts.QLegend.pen()
Return type

PySide2.QtGui.QPen

PySide2.QtCharts.QtCharts.QLegend.reverseMarkers()
Return type

bool

PySide2.QtCharts.QtCharts.QLegend.reverseMarkersChanged(reverseMarkers)
Parameters

reverseMarkers – bool

PySide2.QtCharts.QtCharts.QLegend.setAlignment(alignment)
Parameters

alignmentAlignment

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

visible – bool

PySide2.QtCharts.QtCharts.QLegend.setBorderColor(color)
Parameters

colorPySide2.QtGui.QColor

PySide2.QtCharts.QtCharts.QLegend.setBrush(brush)
Parameters

brushPySide2.QtGui.QBrush

PySide2.QtCharts.QtCharts.QLegend.setColor(color)
Parameters

colorPySide2.QtGui.QColor

PySide2.QtCharts.QtCharts.QLegend.setLabelBrush(brush)
Parameters

brushPySide2.QtGui.QBrush

PySide2.QtCharts.QtCharts.QLegend.setLabelColor(color)
Parameters

colorPySide2.QtGui.QColor

PySide2.QtCharts.QtCharts.QLegend.setMarkerShape(shape)
Parameters

shapeMarkerShape

PySide2.QtCharts.QtCharts.QLegend.setPen(pen)
Parameters

penPySide2.QtGui.QPen

PySide2.QtCharts.QtCharts.QLegend.setReverseMarkers([reverseMarkers=true])
Parameters

reverseMarkers – bool

PySide2.QtCharts.QtCharts.QLegend.setShowToolTips(show)
Parameters

show – bool

PySide2.QtCharts.QtCharts.QLegend.showToolTips()
Return type

bool

PySide2.QtCharts.QtCharts.QLegend.showToolTipsChanged(showToolTips)
Parameters

showToolTips – bool