Add legend items object in the chart docs.