displaying year range in charts when provided