This sample chart adds a custom legend item, and then adds
individual cells to the custom legend item:
You can modify the contents of these cells depending on the input data. This gives you the flexibility to define any information in these cells and extend the features of the custom legend item.