optimize graph background by reusing 1 tick mark and 1 dashed line