汉字好像是一个区间呢 axisX = QCategoryAxis() axisX.append("first",0) axisX.append("0分25秒",25) axisX.append("0分50秒",50) axisX.append("1分15秒",75) axisX.setLabelsColor(QtGui.QColor(255, 255, 255)) axisX.setGridLineVisible(False) self.chart.setAxisX(axisX) lineSeries.attachAxis(axisX)
标签:25,QCategoryAxis,axisX,50,应用,append,255 From: https://www.cnblogs.com/hahaah/p/17402983.html