How to plot multiple line series in the same chart
Unsolved
General and Desktop
-
@Neko12345 said in How to plot multiple line series in the same chart:
Any ideas how to make it?
Call https://doc.qt.io/qt-5/qchart.html#addSeries for every line series you have?
-
Hi,
What exactly did you do ?
-
Hi
Did you new the the Series ?
The only thing i can guess on that would make it "not working"Did you see this example?
https://doc.qt.io/qt-5.15/qtcharts-linechart-example.htmlIf you do mutiple
QLineSeries *series = new QLineSeries();
and give it some points
and then call
chart->addSeries(series1);
chart->addSeries(series2);
etc, it should draw them.