Changed constantLine function to only store 1 value in TimeSeries

Resolves an issue where the format=raw parameter outputs duplicate
values separated by a comma instead of just the one threshold value.