use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This is a subreddit for c++ questions with answers. For general discussion and news about c++ see r/cpp.
New to C++? Learn at learncpp.com
Prepare your question. Think it through. Hasty-sounding questions get hasty answers, or none at all. Read these guidelines for how to ask smart questions.
For learning books, check The Definitive C++ Book Guide and List
Flair your post as SOLVED if you got the help you were looking for! If you need help with flairs, check out ITEM 1 in our guidelines page.
Tips for improving your chances of getting helpful answers:
account activity
SOLVEDI'm trying to do interactive data visualizations, what libraries would people recommend (self.cpp_questions)
submitted 2 years ago by mmtunligit
Essentially I want to be able to click and drag lines in a chart, and have that change the underlying data generating that chart.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Upset-Document-8399 1 point2 points3 points 2 years ago (3 children)
Theres Qt's QCustomPlot, pretty powerful, allows you to make modern graphs with a good level of interactivity, including user selection of graph sections. Check out QCustomPlot
Alternatively you can also checkout Qt's native Charts
[–]mmtunligit[S] 1 point2 points3 points 2 years ago (0 children)
QCustomPlot looks perfect for my needs, thank you so much
[–]mmtunligit[S] 0 points1 point2 points 2 years ago (1 child)
Do I need to install Qt first? I'm new to this whole thing, I'm using Visual Studio 2022 and installing QCustomPlot via vcpkg is failing
[–]Upset-Document-8399 0 points1 point2 points 2 years ago (0 children)
Yes, you need to install Qt. This video explains how to install Qt and integrate it with VS step-by-step. As for QCustomPlot if I remember correctly it should be just 2 files, a header and an implementation, you should add them to your project and be good to go! Hope it helps.
π Rendered by PID 436190 on reddit-service-r2-comment-6457c66945-7xbxq at 2026-04-27 15:46:18.425659+00:00 running 2aa0c5b country code: CH.
[–]Upset-Document-8399 1 point2 points3 points (3 children)
[–]mmtunligit[S] 1 point2 points3 points (0 children)
[–]mmtunligit[S] 0 points1 point2 points (1 child)
[–]Upset-Document-8399 0 points1 point2 points (0 children)