Add a legend to pie widget