Adaptive sampling for Flot