pub fn apply_aggregation( aggregator: AggregationPolicy, time_per_pixel: f64, points: Vec<PlotPoint>, query: &ViewQuery<'_>, ) -> (f64, Vec<PlotPoint>)
Apply the given aggregation to the provided points.