New in version 5.7.
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=””])
def
categoriesChanged
()
def
labelsPositionChanged
(position)
PySide2.QtCharts.QtCharts.
QCategoryAxis
(
[
parent=None
]
)
¶
parent
–
QObject
PySide2.QtCharts.QtCharts.QCategoryAxis.
AxisLabelsPosition
¶
PySide2.QtCharts.QtCharts.QCategoryAxis.
append
(
label
,
categoryEndValue
)
¶
label – unicode
categoryEndValue
–
qreal
PySide2.QtCharts.QtCharts.QCategoryAxis.
categoriesChanged
(
)
¶
PySide2.QtCharts.QtCharts.QCategoryAxis.
categoriesLabels
(
)
¶
字符串列表
PySide2.QtCharts.QtCharts.QCategoryAxis.
count
(
)
¶
int
PySide2.QtCharts.QtCharts.QCategoryAxis.
endValue
(
categoryLabel
)
¶
categoryLabel – unicode
qreal
PySide2.QtCharts.QtCharts.QCategoryAxis.
labelsPosition
(
)
¶
PySide2.QtCharts.QtCharts.QCategoryAxis.
labelsPositionChanged
(
position
)
¶
position
–
AxisLabelsPosition
PySide2.QtCharts.QtCharts.QCategoryAxis.
remove
(
label
)
¶
label – unicode
PySide2.QtCharts.QtCharts.QCategoryAxis.
replaceLabel
(
oldLabel
,
newLabel
)
¶
oldLabel – unicode
newLabel – unicode
PySide2.QtCharts.QtCharts.QCategoryAxis.
setLabelsPosition
(
position
)
¶
position
–
AxisLabelsPosition
PySide2.QtCharts.QtCharts.QCategoryAxis.
setStartValue
(
min
)
¶
min
–
qreal
PySide2.QtCharts.QtCharts.QCategoryAxis.
startValue
(
[
categoryLabel=""
]
)
¶
categoryLabel – unicode
qreal