You can provide colors based on the ColorValuePath to a LeafTemplate by using MappedColor property and you can add any colormapping for leafnode using “LeafColorMapping” property.
Use MappedColor API as binding path in Leaftemplate to bind the set of provided colors using LeafColorMapping based on ColorValuePath.
The following screenshot illustrates the output.
Figure 1: LeafTemplate colors using mappedcolor
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|