Rectangle selection/zoom for chart components. Significant improvements in the correlogram visualization both in correctness and performance. Added minor tests.