class QCategoryAxis

Inheritance diagram of PySide6.QtCharts.QCategoryAxis

Synopsis

Properties

Methods

Signals

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

class AxisLabelsPosition

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property categoriesLabelsᅟ: list of strings
Access functions:
property countᅟ: int
Access functions:
property labelsPositionᅟ: QCategoryAxis.AxisLabelsPosition
Access functions:
property startValueᅟ: float
Access functions:
__init__([parent=None])
Parameters:

parentQObject

append(label, categoryEndValue)
Parameters:
  • label – str

  • categoryEndValue – float

categoriesChanged()
categoriesLabels()
Return type:

list of strings

Getter of property categoriesLabelsᅟ .

count()
Return type:

int

Getter of property countᅟ .

endValue(categoryLabel)
Parameters:

categoryLabel – str

Return type:

float

labelsPosition()
Return type:

AxisLabelsPosition

Getter of property labelsPositionᅟ .

labelsPositionChanged(position)
Parameters:

positionAxisLabelsPosition

Notification signal of property labelsPositionᅟ .

remove(label)
Parameters:

label – str

replaceLabel(oldLabel, newLabel)
Parameters:
  • oldLabel – str

  • newLabel – str

setLabelsPosition(position)
Parameters:

positionAxisLabelsPosition

Setter of property labelsPositionᅟ .

setStartValue(min)
Parameters:

min – float

Setter of property startValueᅟ .

startValue([categoryLabel=""])
Parameters:

categoryLabel – str

Return type:

float