The following example demonstrates how to colorize chart items using the ChartItemArgumentToColorKeyProvider class as a color information provider.
For this, create a ChartItemArgumentToColorKeyProvider object and assign it to the KeyValueColorizer.ColorItemKeyProvider property.
Then, create a few ColorizerColorTextItem objects with keys, which represent arguments of chart items and add them to the colorizer via its KeyValueColorizer.AddItem method.
Starting with the 14.2 version, you should use KeyColorColorizer. The following examples demonstrate how to use this colorizer: How to manually add MapBubble items to the map and How to manually add MapPie items to the map.