Fixed an issue with sparklines with only one value in the array