[CDF-293] - Implement trim values for sparkline addins

Sometimes is hard generate the correct string with the values for sparkline. Trim values will help a lot.
@pamval can you review?