32 return QPointF(p.x, p.y);
48 throw std::runtime_error(
"the X axis is null");
58 const double EPS = std::numeric_limits<double>::epsilon();
60 for (
size_t i = 0; i < data_size; i++)
64 throw std::runtime_error(
"X and Y axis don't share the same time axis");
PointSeriesXY(const PlotData *x_axis, const PlotData *y_axis)
RangeOpt getVisualizationRangeX() override
const Point & at(size_t index) const
size_t size() const override
bool updateCache(bool reset_old_data) override
int getIndexFromX(double x) const
PlotDataBase< double > _cached_curve
virtual size_t size() const
nonstd::optional< QPointF > sampleFromTime(double t) override
virtual RangeOpt rangeX() const
void pushBack(const Point &p)
RangeOpt getVisualizationRangeY(Range range_X) override