The TreeMap control allows you to customize its appearance by using the Palette property. This property accepts value from the Palette enumeration provided by the ChartBase class.
The following image shows how a TreeMap control appears after applying a theme using the Palette property.
The following code examples demonstrate how to set Palette property in C#. These examples use the sample created in the Quick Start section.
C# |
Copy Code |
---|---|
treeMap.Palette = Palette.Zen; |