Update trend

Improvement of trend widget : add an  option to show a sparkline