Make Chart::render return a string instead of writing to std::cout

This commit is contained in:
Thomas Lauf 2019-01-28 14:31:29 +01:00
parent 365ae27e49
commit c562f3fc81
3 changed files with 29 additions and 25 deletions

View file

@ -36,7 +36,7 @@ class Chart
public:
Chart() = default;
static void render (const Interval&, const std::vector <Interval>&, const std::vector <Range>&, const std::map <Datetime, std::string>&, const std::map <std::string, Color>&, const Color&, const Color&, const Color&, const Color&, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, int);
static std::string render (const Interval&, const std::vector <Interval>&, const std::vector <Range>&, const std::map <Datetime, std::string>&, const std::map <std::string, Color>&, const Color&, const Color&, const Color&, const Color&, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, int);
static unsigned long getIndentSize (bool, bool, bool, bool);