Implement trim values for sparkline addins

Sometimes is hard generate the correct string with the values for sparkline. Trim values will help a lot.