added gradient to display threshold limit