Trend comparison functionality.