diff --git a/main.cpp b/main.cpp index ae1566d..5759bc4 100644 --- a/main.cpp +++ b/main.cpp @@ -2,7 +2,7 @@ #include #include "histogram.h" #include "text.h" - +#include "svg.h" using namespace std; @@ -35,8 +35,11 @@ input_data() { int main() { + std::string fill = "red"; + std::string stroke = "#000000"; + auto in = input_data(); auto bins = make_histogram(in.numbers, in.bin_count); - show_histogram_text(bins, in.bin_count); + show_histogram_svg(bins, fill, stroke); return 0; }