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