Fixed the chart's legend