1 #ifndef REGRESSION_GRAPH_CONTROLLER_H 2 #define REGRESSION_GRAPH_CONTROLLER_H 10 #include "../shared/interactive_curve_view_controller.h" 11 #include "../shared/curve_view_cursor.h" 12 #include "../shared/cursor_view.h" 13 #include "../shared/round_cursor_view.h" 27 constexpr
static float k_cursorTopMarginRatio = 0.07f;
28 constexpr
static float k_cursorBottomMarginRatio = 0.3f;
29 constexpr
static int k_maxLegendLength = 16;
30 constexpr
static int k_maxNumberOfCharacters = 50;
33 bool handleEnter()
override;
34 void reloadBannerView()
override;
35 void initRangeParameters()
override;
36 void initCursorParameters()
override;
37 bool moveCursorHorizontally(
int direction)
override;
38 bool moveCursorVertically(
int direction)
override;
41 bool isCursorVisible()
override;
51 int * m_selectedDotIndex;
GraphController(Responder *parentResponder, ButtonRowController *header, Store *store, Shared::CurveViewCursor *cursor, uint32_t *modelVersion, uint32_t *rangeVersion, int *selectedDotIndex)
Responder * parentResponder() const
bool isEmpty() const override
void viewWillAppear() override
I18n::Message emptyMessage() override
ViewController * initialisationParameterController() override
void selectRegressionCurve()