annotate trend calculation