QCategoryAxis¶
New in version 5.7.
Synopsis¶
Functions¶
def
append
(label, categoryEndValue)def
categoriesLabels
()def
count
()def
endValue
(categoryLabel)def
labelsPosition
()def
remove
(label)def
replaceLabel
(oldLabel, newLabel)def
setLabelsPosition
(position)def
setStartValue
(min)def
startValue
([categoryLabel=””])
Signals¶
def
categoriesChanged
()def
labelsPositionChanged
(position)
Detailed Description¶
- class PySide2.QtCharts.QtCharts.QCategoryAxis([parent=None])¶
- Parameters:
parent –
PySide2.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:
- PySide2.QtCharts.QtCharts.QCategoryAxis.labelsPositionChanged(position)¶
- Parameters:
position –
AxisLabelsPosition
- 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:
position –
AxisLabelsPosition
- PySide2.QtCharts.QtCharts.QCategoryAxis.setStartValue(min)¶
- Parameters:
min – float
- PySide2.QtCharts.QtCharts.QCategoryAxis.startValue([categoryLabel=""])¶
- Parameters:
categoryLabel – str
- Return type:
float
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.