fix near infinite loop in zerofill when data=null in timeseries
use parseFloat to allow timeseries to graph data that is between 0 and 1
add curly braces to make code formatting more standard
allow the counter to render a display initially when the value is zero