[Mod]添加情景分析的轴标签

This commit is contained in:
vn.py 2017-12-06 21:52:14 +08:00
parent f3cb22e6ed
commit ef6014c6f8

View File

@ -35,11 +35,11 @@ class ScenarioValueMonitor(QtWidgets.QTableWidget):
# 设置表头
self.setColumnCount(len(priceChangeArray))
priceChangeHeaders = [('%s%%' %(priceChange*100)) for priceChange in priceChangeArray]
priceChangeHeaders = [('price %s%%' %(priceChange*100)) for priceChange in priceChangeArray]
self.setHorizontalHeaderLabels(priceChangeHeaders)
self.setRowCount(len(impvChangeArray))
impvChangeHeaders = [('%s%%' %(impvChange*100)) for impvChange in impvChangeArray]
impvChangeHeaders = [('impv %s%%' %(impvChange*100)) for impvChange in impvChangeArray]
self.setVerticalHeaderLabels(impvChangeHeaders)
# 设置数据