fix for min/max limits for viewport
fix for min/max of all series, not just last