| 913 | |
| 914 | struct OperatingProfitGraphWindow : BaseCompanyGraphWindow { |
| 915 | OperatingProfitGraphWindow(WindowDesc &desc, WindowNumber window_number) : |
| 916 | BaseCompanyGraphWindow(desc, STR_JUST_CURRENCY_SHORT) |
| 917 | { |
| 918 | this->num_on_x_axis = GRAPH_NUM_MONTHS; |
| 919 | this->num_vert_lines = GRAPH_NUM_MONTHS; |
| 920 | this->draw_dates = !TimerGameEconomy::UsingWallclockUnits(); |
| 921 | |
| 922 | this->InitializeWindow(window_number); |
| 923 | } |
| 924 | |
| 925 | OverflowSafeInt64 GetGraphData(const Company *c, int j) override |
| 926 | { |
nothing calls this directly
no test coverage detected