Fix waterfall chart bug