##// END OF EJS Templates
Add lambda in VIsualizationWidget to fix the bug of the corner widget button size...
Add lambda in VIsualizationWidget to fix the bug of the corner widget button size Modify the property of the QFrame to ensure the box around the zone widget to be visible

File last commit:

r177:4c64b786fec1
r186:134da9ef870f
Show More
ScalarSeries.cpp
13 lines | 424 B | text/x-c | CppLexer
#include <Data/ScalarSeries.h>
ScalarSeries::ScalarSeries(int size, Unit xAxisUnit, Unit valuesUnit)
: DataSeries{std::make_shared<ArrayData<1> >(size), std::move(xAxisUnit),
std::make_shared<ArrayData<1> >(size), std::move(valuesUnit)}
{
}
void ScalarSeries::setData(int index, double x, double value) noexcept
{
xAxisData()->setData(index, x);
valuesData()->setData(index, value);
}