Fixes legend display for multi-source graphs