Qt5 C++ Creating LineChart With QtChart | C++ GUI Tutorial

preview_player
Показать описание
You can support me in Patreon

Join Free Programming Courses

In this Qt5 C++ GUI Tutorial i want to show you Creating LineChart with QtChart, basically we are using QtChart class for this article,  QtChart module provides a set of easy to use chart components. It uses the Qt Graphics View Framework, therefore charts can be easily integrated to modern user interfaces. Qt Charts can be used as QWidgets, QGraphicsWidget, or QML types. Users can easily create impressive graphs by selecting one of the charts themes. also we are using QLineSeries, so the QLineSeries class presents data in line charts, a line chart is used to show information as a series of data points connected by straight lines. also you can check the first article on QtCharts creating BarChart.

Get the source code:

#Qt5C++#QtChart#ParwizForogh
Рекомендации по теме
Комментарии
Автор

when making tutorial, please explain what is the purpose of the code for the beginners like us to understand, for example, at 4:00 I have no idea what chart->legend() is or at 5:22 the lengthy line setRenderHint...

catorlife
Автор

Cool, video, but how to add custom axis, if you wanna display data between let's say 0 and 256, 128 being the middle line?
What if the data is numerous, like say 32.000 samples, like a WAV file, how to add scrollbars and the capability to zoom in/out.

AnalogDude_
Автор

Great video Parwiz, but what is the difference between the iseries and making points? I have understtod that is quite similar, in the graph they are both .
Thanks a lot, great

enricosaccheggiani
Автор

Sir, , how to add the chart view In a widget on my mainwindow??

yasaswiniputta
Автор

can i do that like a live chart? i'll read datas from excel and i'll process that to the Qchart interactively

hcc
Автор

Você é muito top, Gostei muito do seu canal, parabéns!!!

lucasfreire
welcome to shbcf.ru