QCategoryAxis

New in version 5.7.

Synopsis

Functions

Signals

Detailed Description

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

parentPySide2.QtCore.QObject

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

  • categoryEndValue – float

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

list of strings

PySide2.QtCharts.QCategoryAxis.count()
Return type

int

PySide2.QtCharts.QCategoryAxis.endValue(categoryLabel)
Parameters

categoryLabel – str

Return type

float

PySide2.QtCharts.QCategoryAxis.labelsPosition()
Return type

AxisLabelsPosition

PySide2.QtCharts.QCategoryAxis.labelsPositionChanged(position)
Parameters

positionAxisLabelsPosition

PySide2.QtCharts.QCategoryAxis.remove(label)
Parameters

label – str

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

  • newLabel – str

PySide2.QtCharts.QCategoryAxis.setLabelsPosition(position)
Parameters

positionAxisLabelsPosition

PySide2.QtCharts.QCategoryAxis.setStartValue(min)
Parameters

min – float

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

categoryLabel – str

Return type

float