Add total acceleration to the legend.