This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
/
MainWindow.xaml
59 lines (59 loc) · 2.4 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:dxtm="http://schemas.devexpress.com/winfx/2008/xaml/treemap"
x:Class="TreeMapGradientColorizerSample.MainWindow"
Title="MainWindow"
Height="350"
Width="525">
<Grid>
<dxtm:TreeMapControl>
<!--region #TreeMapGradientColorizer-->
<dxtm:TreeMapControl.Colorizer>
<dxtm:TreeMapGradientColorizer
EndColor="#FFFF5A19"
StartColor="#FF6EC95C"/>
</dxtm:TreeMapControl.Colorizer>
<!--endregion #TreeMapGradientColorizer-->
<dxtm:TreeMapItemStorage>
<dxtm:TreeMapItem Label="Americas">
<dxtm:TreeMapItem
Label="United States"
Value="11384763"/>
<dxtm:TreeMapItem
Label="Brazil"
Value="1799612"/>
<dxtm:TreeMapItem
Label="Canada"
Value="1572781"/>
</dxtm:TreeMapItem>
<dxtm:TreeMapItem Label="Europe">
<dxtm:TreeMapItem
Label="Germany"
Value="3371003"/>
<dxtm:TreeMapItem
Label="United Kingdom"
Value="2582021"/>
<dxtm:TreeMapItem
Label="France"
Value="2422649"/>
<dxtm:TreeMapItem
Label="Italy"
Value="1809047"/>
</dxtm:TreeMapItem>
<dxtm:TreeMapItem Label="Asia">
<dxtm:TreeMapItem
Label="China"
Value="17968195"/>
<dxtm:TreeMapItem
Label="Japan"
Value="4116242"/>
<dxtm:TreeMapItem
Label="India"
Value="2864903"/>
</dxtm:TreeMapItem>
</dxtm:TreeMapItemStorage>
</dxtm:TreeMapControl>
</Grid>
</Window>