How to: Color Tree Map Using the Gradient Colorizer
To color tree map items using the Gradient Colorizer, do the following.
- Assign a newly created TreeMapGradientColorizer object to the TreeMapControl.Colorizer property.
- Specify the required gradient start and end colors using the TreeMapGradientColorizer.StartColor and TreeMapGradientColorizer.EndColor properties.
<dxtm:TreeMapControl.Colorizer>
<dxtm:TreeMapGradientColorizer
EndColor="#FFFF5A19"
StartColor="#FF6EC95C"/>
</dxtm:TreeMapControl.Colorizer>