| 966 | |
| 967 | struct IncomeGraphWindow : BaseCompanyGraphWindow { |
| 968 | IncomeGraphWindow(WindowDesc &desc, WindowNumber window_number) : |
| 969 | BaseCompanyGraphWindow(desc, STR_JUST_CURRENCY_SHORT) |
| 970 | { |
| 971 | this->num_on_x_axis = GRAPH_NUM_MONTHS; |
| 972 | this->num_vert_lines = GRAPH_NUM_MONTHS; |
| 973 | this->draw_dates = !TimerGameEconomy::UsingWallclockUnits(); |
| 974 | |
| 975 | this->InitializeWindow(window_number); |
| 976 | } |
| 977 | |
| 978 | OverflowSafeInt64 GetGraphData(const Company *c, int j) override |
| 979 | { |
nothing calls this directly
no test coverage detected