PySide6.QtCharts.QCategoryAxis¶
- class QCategoryAxis¶
-
Synopsis¶
Properties¶
Methods¶
def
__init__()def
append()def
count()def
endValue()def
labelsPosition()def
remove()def
replaceLabel()def
setStartValue()def
startValue()
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_propertyis 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:
- 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:
Getter of property
labelsPositionᅟ.- labelsPositionChanged(position)¶
- Parameters:
position –
AxisLabelsPosition
Notification signal of property
labelsPositionᅟ.- remove(label)¶
- Parameters:
label – str
- replaceLabel(oldLabel, newLabel)¶
- Parameters:
oldLabel – str
newLabel – str
- setLabelsPosition(position)¶
- Parameters:
position –
AxisLabelsPosition
Setter of property
labelsPositionᅟ.- setStartValue(min)¶
- Parameters:
min – float
Setter of property
startValueᅟ.- startValue([categoryLabel=""])¶
- Parameters:
categoryLabel – str
- Return type:
float