Added colored legends to the chart