Logging a purchase also records the price, so it feeds your history & chart.
Target is the "good deal" price for one bag β you'll get a green Buy signal at or below it. Bag-lasts-days powers the reorder estimate.