summaryrefslogtreecommitdiff
path: root/src/renderer.hpp
diff options
context:
space:
mode:
authorVasile Vilvoiu <vasi@vilvoiu.ro>2021-07-16 18:32:27 +0300
committerVasile Vilvoiu <vasi@vilvoiu.ro>2021-07-16 18:32:27 +0300
commit47bbfdbf1e2a6193157397938e76b16a1f60e789 (patch)
tree5f90ac568bcd0ddfa2e885bacf4e4e996395d249 /src/renderer.hpp
parent82c81858c65c80fb667e73ffdcc4ff69007cfa17 (diff)
Add support for arbitrary scales, with custom units.
Add support for linear scales. Logging of scale to stderr. Closes #9.
Diffstat (limited to 'src/renderer.hpp')
-rw-r--r--src/renderer.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/renderer.hpp b/src/renderer.hpp
index b2002c2..a473a2a 100644
--- a/src/renderer.hpp
+++ b/src/renderer.hpp
@@ -46,6 +46,7 @@ private:
std::list<AxisTick> frequency_ticks_;
std::list<AxisTick> live_ticks_;
+ [[maybe_unused]] /* need for this method disappeared when fixing #9, might be useful in the future */
static std::list<AxisTick> GetLinearTicks(double v_min, double v_max, const std::string& v_unit,
unsigned int num_ticks);
static std::list<AxisTick> GetNiceTicks(double v_min, double v_max, const std::string& v_unit,