QCategoryAxis

Inheritance diagram of PySide2.QtCharts.QtCharts.QCategoryAxis

New in version 5.7.

Synopsis

Functions

Signals

Detailed Description

class PySide2.QtCharts.QtCharts.QCategoryAxis([parent=None])
Parameters:

parentPySide2.QtCore.QObject

PySide2.QtCharts.QtCharts.QCategoryAxis.AxisLabelsPosition
PySide2.QtCharts.QtCharts.QCategoryAxis.append(label, categoryEndValue)
Parameters:
  • label – str

  • categoryEndValue – float

PySide2.QtCharts.QtCharts.QCategoryAxis.categoriesChanged()
PySide2.QtCharts.QtCharts.QCategoryAxis.categoriesLabels()
Return type:

list of strings

PySide2.QtCharts.QtCharts.QCategoryAxis.count()
Return type:

int

PySide2.QtCharts.QtCharts.QCategoryAxis.endValue(categoryLabel)
Parameters:

categoryLabel – str

Return type:

float

PySide2.QtCharts.QtCharts.QCategoryAxis.labelsPosition()
Return type:

AxisLabelsPosition

PySide2.QtCharts.QtCharts.QCategoryAxis.labelsPositionChanged(position)
Parameters:

positionAxisLabelsPosition

PySide2.QtCharts.QtCharts.QCategoryAxis.remove(label)
Parameters:

label – str

PySide2.QtCharts.QtCharts.QCategoryAxis.replaceLabel(oldLabel, newLabel)
Parameters:
  • oldLabel – str

  • newLabel – str

PySide2.QtCharts.QtCharts.QCategoryAxis.setLabelsPosition(position)
Parameters:

positionAxisLabelsPosition

PySide2.QtCharts.QtCharts.QCategoryAxis.setStartValue(min)
Parameters:

min – float

PySide2.QtCharts.QtCharts.QCategoryAxis.startValue([categoryLabel=""])
Parameters:

categoryLabel – str

Return type:

float