Add the legend and manage the order of values painting (bars first).
Missing files...