scale threshold line alpha based on range