Add legend to Pipeline and Forecast gadgets