内容表

上一话题

QtCharts.QCandlestickSet

下一话题

QtCharts.QChart

QtCharts.QCategoryAxis

Inheritance diagram of PySide2.QtCharts.QtCharts.QCategoryAxis

New in version 5.7.

概要

函数

详细描述

class 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 ( )
返回类型

AxisLabelsPosition

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