| 1126 | |
| 1127 | struct CompanyValueGraphWindow : BaseCompanyGraphWindow { |
| 1128 | CompanyValueGraphWindow(WindowDesc &desc, WindowNumber window_number) : |
| 1129 | BaseCompanyGraphWindow(desc, STR_JUST_CURRENCY_SHORT) |
| 1130 | { |
| 1131 | this->num_on_x_axis = GRAPH_NUM_MONTHS; |
| 1132 | this->num_vert_lines = GRAPH_NUM_MONTHS; |
| 1133 | this->draw_dates = !TimerGameEconomy::UsingWallclockUnits(); |
| 1134 | |
| 1135 | this->InitializeWindow(window_number); |
| 1136 | } |
| 1137 | |
| 1138 | OverflowSafeInt64 GetGraphData(const Company *c, int j) override |
| 1139 | { |
nothing calls this directly
no test coverage detected