Currently, if a starting value in a dataset is 0, the relative percentage change of a trend will display as "Infinity%" (because dividing by 0 in JS returns Infinity):

The culprit is the getChange function in timeseries.js not checking if the initial value is 0.
Proposed fix: Either hide the relative change labels in this case, or just insert something like a dash or "n/a".
Currently, if a starting value in a dataset is
0, the relative percentage change of a trend will display as "Infinity%" (because dividing by0in JS returnsInfinity):The culprit is the
getChangefunction intimeseries.jsnot checking if the initial value is0.Proposed fix: Either hide the relative change labels in this case, or just insert something like a dash or "n/a".