From 49f0b786f8fc29f1a4804e1efa918e2024a60da5 Mon Sep 17 00:00:00 2001 From: "Nikolay (KrivobokovNS)" Date: Sat, 23 Aug 2025 14:43:03 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=BF=D0=BE=D0=B4=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=20main=20=D0=BF=D0=BE=D0=B4=20=D1=80?= =?UTF-8?q?=D0=B0=D0=B1=D0=BE=D1=82=D1=83=20=D1=81=20svg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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; }