-
-
Notifications
You must be signed in to change notification settings - Fork 400
Open
Description
Hello,
I am trying to insert a X-Y Scatter plot without success. Here's and example of used code:
...
insertColumn("totalLengthTheoretical-totalLengthReal", 7, totalLengthDiffValues, xlsxW);
{
auto chart = xlsxW.insertChart(20, 9, QSize(300, 300));
chart->setChartType(QXlsx::Chart::CT_ScatterChart);
chart->addSeries(QXlsx::CellRange(QString("A1:A%1").arg(2+nbValues)));
chart->addSeries(QXlsx::CellRange(QString("H1:H%1").arg(2+nbValues)));
chart->setChartTitle("totalLength");
}
...
But the output is not as expected:
How can I specify that first series are X values, and second series are Y values ?
Metadata
Metadata
Assignees
Labels
No labels