Micro cache for-loop data length in Rickshaw.Graph.HoverDetail