void QRPlot::plotLine(QString propertyName, QString dataTitle) { qDebug() << "Plotting " << propertyName; Summary summary = getSummaryWithTitle(dataTitle); Property xProp = summary.getProperties().getProperty("TIME"); Property yProp = summary.getProperties().getProperty(propertyName); PlotLine newLine = PlotLine(xProp.getValues(), yProp.getValues(), propertyName, yProp.getUnit(), dataTitle); this->graph.addLine(newLine); this->updatePlottedPropertiesList(); }