##// END OF EJS Templates
Settings binding (3)...
Settings binding (3) Makes dialog a ISqpSettingsBindable and handles load and save These operations consist of browsing all registered widgets and call load or save on those who are a ISqpSettingsBindable

File last commit:

r452:158d38bb6d5a
r468:4682fc2670df
Show More
ScalarSeries.cpp
13 lines | 480 B | text/x-c | CppLexer
#include <Data/ScalarSeries.h>
ScalarSeries::ScalarSeries(QVector<double> xAxisData, QVector<double> valuesData,
const Unit &xAxisUnit, const Unit &valuesUnit)
: DataSeries{std::make_shared<ArrayData<1> >(std::move(xAxisData)), xAxisUnit,
std::make_shared<ArrayData<1> >(std::move(valuesData)), valuesUnit}
{
}
std::unique_ptr<IDataSeries> ScalarSeries::clone() const
{
return std::make_unique<ScalarSeries>(*this);
}