Numworks Epsilon  1.4.1
Graphing Calculator Operating System
box_range.h
Go to the documentation of this file.
1 #ifndef STATISTICS_BOX_RANGE_H
2 #define STATISTICS_BOX_RANGE_H
3 
4 #include "../shared/curve_view_range.h"
5 #include "store.h"
6 
7 namespace Statistics {
8 
10 public:
11  BoxRange(Store * store);
12  float xMin() override;
13  float xMax() override;
14  float yMin() override;
15  float yMax() override;
16  float xGridUnit() override;
17 private:
18  constexpr static float k_displayTopMarginRatio = 0.05f;
19  constexpr static float k_displayRightMarginRatio = 0.2f;
20  constexpr static float k_displayBottomMarginRatio = 0.2f;
21  constexpr static float k_displayLeftMarginRatio = 0.2f;
22  Store * m_store;
23 };
24 
25 }
26 
27 #endif
BoxRange(Store *store)
Definition: box_range.cpp:5
float xGridUnit() override
Definition: box_range.cpp:32
float xMax() override
Definition: box_range.cpp:17
float xMin() override
Definition: box_range.cpp:10
float yMax() override
Definition: box_range.cpp:28
float yMin() override
Definition: box_range.cpp:24