forked from syncfusion/blazor-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSampleList.cs
More file actions
288 lines (284 loc) · 15 KB
/
Copy pathSampleList.cs
File metadata and controls
288 lines (284 loc) · 15 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ej2_blazor_samples;
namespace ej2_blazor_samples
{
internal partial class SampleConfig
{
public List<Sample> TreeMap { get; set; } = new List<Sample>{
new Sample
{
Name = "Default Functionalities",
Category = "TreeMap",
Directory = "TreeMap/TreeMap",
Url = "TreeMap/DefaultFunctionalities",
FileName = "DefaultFunctionalities.razor",
TitleTag = "TreeMap . Default . Syncfusion Blazor Components",
MetaDescription = "This demo demo of Syncfusion Blazor TreeMap component visualizes the sales of cars across various countries in 2017",
Type = SampleType.None,
ActionDescription = new string[] {
@"<p>
This sample visualizes the car sales of various countries in 2017 by rendering the countries at top level and car manufacturing companies as leaf items.
</p>"
},
Description = new string[] {
@"<p>
In this example, you can see how to render a treemap with the provided data source. Palette color is applied for the items in treemap. Default legend is enabled in this example to represent the items in top level.
</p>
<p>
Tooltip is enabled in this example. To see the tooltip in action, hover the mouse over an item or tap an item in touch enabled devices.
</p>"
}
},
new Sample
{
Name = "Layout",
Category = "TreeMap",
Directory = "TreeMap/TreeMap",
Url = "TreeMap/Layout",
FileName = "Layout.razor",
TitleTag = "TreeMap . Layout . Syncfusion Blazor Components",
MetaDescription = "This demo of Syncfusion Blazor TreeMap component illustrates the GDP nominal of top 10 countries. The layout of the TreeMap can also be changed",
Type = SampleType.None,
ActionDescription = new string[] {
@"<p>
This sample illustrates the GDP nominal of top 10 countries in the year 2015. The layout and rendering direction of the TreeMap can be changed by using the Layout Type and Render Direction in the properties panel.
</p>"
},
Description = new string[] {
@"<p>
In this example, you can change the layout of the TreeMap as desaturation color mapping has been applied to denote the weightage of the items by varying the fill color. The label's text also has been formatted and placed in multiple lines.
</p>
<p>
Tooltip is enabled in this example. To see the tooltip in action, hover the mouse over an item or tap an item in touch enabled devices.
</p> "
}
},
new Sample
{
Name = "Drilldown",
Category = "TreeMap",
Directory = "TreeMap/TreeMap",
Url = "TreeMap/Drilldown",
FileName = "Drilldown.razor",
TitleTag = "TreeMap . DrillDown . Syncfusion Blazor Components",
MetaDescription = "This demo demo of Syncfusion Blazor TreeMap component demonstrates drill-down with the continents at the top level followed by regions and countries",
Type = SampleType.None,
ActionDescription = new string[] {
@"<p>
This sample demonstrates drill-down with the continents at the top level followed by regions and countries. By clicking a continent, you can view all the countries available in that continent clearly. Customizations can be done in the treemap, by using the options in the properties panel
</p>"
},
Description = new string[] {
@"<p>
In this example, you can see how to render a TreeMap with multiple items and drill it further. Change the drill down view and enable the breadcrumb using the options available in the properties panel.
</p>
<p>
Tooltip is enabled in this example. To see the tooltip in action, hover the mouse over an item or tap an item in touch enabled devices.
</p> "
}
},
new Sample
{
Name = "Customization",
Category = "TreeMap",
Directory = "TreeMap/TreeMap",
Url = "TreeMap/Customization",
FileName = "Customization.razor",
TitleTag = "TreeMap . Customization . Syncfusion Blazor Components",
MetaDescription = "This demo demo of Syncfusion Blazor TreeMap component depicts the gold medal categories of US Summer Olympics. Each category is denoted with label template",
Type = SampleType.None,
ActionDescription = new string[] {
@"<p>
This sample depicts the gold medal categories of US in 2016 summer Olympics. Each categories are denoted with label template.
</p>"
},
Description = new string[] {
@"<p>
In this example, you can see how to place custom HTML templates in the treemap items. Also we have formatted the labels default text.
</p>
<p>
Tooltip is enabled in this example. To see the tooltip in action, hover the mouse over an item or tap an item in touch enabled devices.
</p>"
}
},
new Sample
{
Name = "Data Label",
Category = "TreeMap",
Directory = "TreeMap/TreeMap",
Url = "TreeMap/Label",
FileName = "TreeMapLabel.razor",
TitleTag = "TreeMap . DataLabel . Syncfusion Blazor Components",
MetaDescription = "This demo of Syncfusion Blazor TreeMap component depicts the population level of various countries in 2017 along with data labels",
Type = SampleType.None,
ActionDescription = new string[] {
@"<p>
This sample illustrates the population level of various countries in 2017. The leaf item’s labels intersect action can be changed by using the Label Intersect Action in properties panel.
</p>"
},
Description = new string[] {
@"<p>
In this example, you can see the various label intersect actions available in TreeMap. Range color mapping has been specified, and the default legend has been enabled in this example.
</p>
<p>
Tooltip is enabled in this example. To see the tooltip in action, hover the mouse over an item or tap an item in touch enabled devices
</p>"
}
},
new Sample
{
Name = "Tooltip",
Category = "TreeMap",
Directory = "TreeMap/TreeMap",
Url = "TreeMap/Tooltip",
FileName = "Tooltip.razor",
TitleTag = "TreeMap . Tooltip . Syncfusion Blazor Components",
MetaDescription = "This demo of Syncfusion Blazor TreeMap component depicts the number of international airports available in South America along with tooltip",
Type = SampleType.None,
ActionDescription = new string[] {
@"<p>
This sample depicts the number of International airports in various countries in South America. On hover, the items details will be displayed in tooltip template.
</p>"
},
Description = new string[] {
@"<p>
In this example, you can see how to apply equal color mapping and apply colors for treemap items based on certain value.
</p>
<p>
Tooltip template is enabled in this example. To see the tooltip in action, hover the mouse over an item or tap an item in touch enabled devices.
</p>"
}
},
new Sample
{
Name = "Legend",
Category = "TreeMap",
Directory = "TreeMap/TreeMap",
Url = "TreeMap/Legend",
FileName = "Legend.razor",
TitleTag = "TreeMap . Legend . Syncfusion Blazor Components",
MetaDescription = "This demo of Syncfusion Blazor TreeMap component visualizes the U.S.A election results using legend. Default and interactive are the two types of legend",
Type = SampleType.None,
ActionDescription = new string[] {
@"<p>
This sample visualizes the 2016 United States presidential election results. The type and position of the legends can be changed using the Type and Position options in the properties panel.
</p>"
},
Description = new string[] {
@"<p>
In this example, you can see the type of legend available in TreeMap. The equal color mapping is applied based on certain value.
</p>
<p>
Tooltip is enabled in this example. To see the tooltip in action, hover the mouse over an item or tap an item in touch enabled devices
</p>"
}
},
// new Sample
// {
// Name = "Color Mapping",
// Category = "TreeMap",
// Directory = "TreeMap/TreeMap",
// Url = "TreeMap/ColorMapping",
// FileName = "ColorMapping.razor",
// TitleTag = "TreeMap . ColorMapping . Syncfusion Blazor Components",
// MetaDescription = "This demo demo of Syncfusion Blazor TreeMap component depicts the top 10 largest islands in the world based on area",
// Type = SampleType.None,
// ActionDescription = new string[] {
// @"<p>
// This sample depicts the gold medal categories of US in 2016 summer Olympics. Each categories are denoted with label template.
// </p>"
// },
// Description = new string[] {
// @"<p>
// In this example, you can see how to place custom HTML templates in the treemap items. Also we have formatted the labels default text.
// </p>"
// }
// },
new Sample
{
Name = "Selection & Highlight",
Category = "TreeMap",
Directory = "TreeMap/TreeMap",
Url = "TreeMap/Selection",
FileName = "Selection.razor",
TitleTag = "TreeMap . Selection . Syncfusion Blazor Components",
MetaDescription = "This demo of Syncfusion Blazor TreeMap component depicts the details of goods imported by Japan. Selection and highlight options have been enabled",
Type = SampleType.None,
ActionDescription = new string[] {
@"<p>
This sample depicts the details of goods imported by Japan. Selection and highlight options have been enabled in this sample.
</p>"
},
Description = new string[] {
@"<p>
In this example, you can see the modes available for performing highlight and selection in TreeMap. It can be either enabled or disabled.
</p>
<br />
<p style=""font-weight: 500"">Injecting Module</p>
<p>
TreeMap component features are segregated into individual feature-wise modules. To use highlight and selection, inject the <code>Selection</code> module using the <code>TreeMap.Inject(TreeMapSelection)</code>inject the <code>Highlight</code> module using the <code>TreeMap.Inject(TreeMapHighlight)</code> method.
</ p > "
}
},
new Sample
{
Name = "Print & Export",
Category = "TreeMap",
Directory = "TreeMap/TreeMap",
Url = "TreeMap/Print",
FileName = "Print.razor",
TitleTag = "TreeMap . Print and Export . Syncfusion Blazor Components",
MetaDescription = "This demo of Syncfusion Blazor TreeMap component depicts the top 10 best-selling smartphone brands. Print and export options have been enabled",
Type = SampleType.None,
ActionDescription = new string[] {
@"<p>
This sample depicts the top 10 best-selling smartphone brands. Print and export options have been enabled in this sample.
</p>"
},
Description = new string[] {
@"<p>
In this example, you can see how to export and print the rendered TreeMap. The TreeMap can be exported to JPEG, PNG, SVG, and PDF formats.
</p>
<p>
Tooltip is enabled in this example. To see the tooltip in action, hover the mouse over an item or tap an item in touch enabled devices.
</p> "
}
},
// new Sample
//{
// Name = "TreeMap with Pie",
// Category = "TreeMap",
// Directory = "TreeMap/TreeMap",
// Url = "TreeMap/TreeMapwithPie",
// FileName = "TreeMapwithPie.razor",
// TitleTag = "TreeMap . Treemap with Pie . Syncfusion Blazor Components",
// MetaDescription = "This demo of Syncfusion Blazor TreeMap component visualizes the population level of various continents in 2011 based on the gender and age group",
// Type = SampleType.None
//},
new Sample
{
Name = "RTL",
Category = "TreeMap",
Directory = "TreeMap/TreeMap",
Url = "TreeMap/Rtl",
FileName = "Rtl.razor",
TitleTag = "TreeMap . RTL . Syncfusion Blazor Components",
MetaDescription = "This demo of Syncfusion Blazor TreeMap component demonstrates drill-down with the continents at the top level from Right To Left",
Type = SampleType.None,
ActionDescription = new string[] {
@"<p>
This sample orders the countries based on the unemployment rate by rendering TreeMap in the right-to-left (RTL) direction
</p>"
},
Description = new string[] {
@"<p>
In this example, you can see how to render a TreeMap from the right-to-left direction. The tooltip is enabled in this example. To see the tooltip in action, hover the mouse over an item or tap an item in touch-enabled devices.
</p>"
}
}
};
}
}