QtCharts.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 –
QObject
-
PySide2.QtCharts.QtCharts.QCategoryAxis.
AxisLabelsPosition
¶
-
PySide2.QtCharts.QtCharts.QCategoryAxis.
append
(label, categoryEndValue)¶ - Parameters
label – unicode
categoryEndValue –
qreal
-
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 – unicode
- Return type
qreal
-
PySide2.QtCharts.QtCharts.QCategoryAxis.
labelsPosition
()¶ - Return type
-
PySide2.QtCharts.QtCharts.QCategoryAxis.
labelsPositionChanged
(position)¶ - Parameters
position –
AxisLabelsPosition
-
PySide2.QtCharts.QtCharts.QCategoryAxis.
remove
(label)¶ - Parameters
label – unicode
-
PySide2.QtCharts.QtCharts.QCategoryAxis.
replaceLabel
(oldLabel, newLabel)¶ - Parameters
oldLabel – unicode
newLabel – unicode
-
PySide2.QtCharts.QtCharts.QCategoryAxis.
setLabelsPosition
(position)¶ - Parameters
position –
AxisLabelsPosition
-
PySide2.QtCharts.QtCharts.QCategoryAxis.
setStartValue
(min)¶ - Parameters
min –
qreal
-
PySide2.QtCharts.QtCharts.QCategoryAxis.
startValue
([categoryLabel=""])¶ - Parameters
categoryLabel – unicode
- Return type
qreal
© 2018 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.