pub trait DataPoint { // Required methods fn x(&self) -> f64; fn y(&self) -> f64; }
data point for LttbSource
LttbSource
x value for sampling, must be in a strictly increasing order
y value for sampling