Observer: display army value in a new dedicated graph tab

This commit is contained in:
Clément Bœsch
2018-11-01 09:46:46 +01:00
committed by Paul Chote
parent 11b064a333
commit bb5e0eafba
4 changed files with 126 additions and 2 deletions

View File

@@ -284,6 +284,20 @@ Background@INGAME_OBSERVERSTATS_BG:
Font: Bold
Text: Earnings received each minute
Align: Center
Container@ARMY_THIS_MIN_GRAPH_HEADERS:
X: 0
Y: 0
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
Label@EARNED_THIS_MIN_HEADER:
X: 0
Y: 40
Width: PARENT_RIGHT
Height: 25
Font: Bold
Text: Army value over time
Align: Center
ScrollPanel@PLAYER_STATS_PANEL:
X: 25
Y: 70
@@ -567,6 +581,26 @@ Background@INGAME_OBSERVERSTATS_BG:
YAxisLabel: $
LabelFont: TinyBold
AxisFont: Bold
Container@ARMY_THIS_MIN_GRAPH_TEMPLATE:
X: 0
Y: 0
Width: PARENT_RIGHT - 100
Height: PARENT_BOTTOM - 50
Children:
LineGraph@ARMY_THIS_MIN_GRAPH:
X: 0
Y: 0
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
ValueFormat: ${0}
XAxisValueFormat: {0}
YAxisValueFormat: ${0:F0}
XAxisSize: 20
YAxisSize: 10
XAxisLabel: m
YAxisLabel: $
LabelFont: TinyBold
AxisFont: Bold
Button@CLOSE:
X: PARENT_RIGHT - 145
Y: PARENT_BOTTOM - 45