Reworks stacked histogram directive