fix: Improve trend widget for sparkline integration