This example demonstrates how to add custom legend items.