Skip to content

Commit dddd9d5

Browse files
Migrated all projects to latest TFM and Updated NuGet Packages
1 parent 3049335 commit dddd9d5

38 files changed

+1274
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<table>
2+
<tr>
3+
<td><a href="border">Border</a></td>
4+
<td><a href="cellhighlighting">Cell Highlighting</a></td>
5+
<td><a href="margin">Margin</a></td>
6+
<td><a href="title">Title</a></td>
7+
</tr>
8+
<tr>
9+
<td><a href="datalabel">DataLabel</a></td>
10+
<td><a href="textstyle">Text Style</a></td>
11+
<td><a href="format">Format</a></td>
12+
</tr>
13+
</table>
14+
15+
16+
<style>
17+
a {
18+
padding-right: 75px;
19+
}
20+
</style>
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
@page "/border"
2+
3+
@using Syncfusion.Blazor.HeatMap
4+
<AppearanceRoute></AppearanceRoute>
5+
6+
<SfHeatMap DataSource="@HeatMapData">
7+
<HeatMapXAxis Labels="@XAxisLabels"></HeatMapXAxis>
8+
<HeatMapYAxis Labels="@YAxisLabels"></HeatMapYAxis>
9+
<HeatMapTitleSettings Text="Sales Revenue per Employee (in 1000 US$)">
10+
</HeatMapTitleSettings>
11+
<HeatMapCellSettings ShowLabel="true" TileType="CellType.Rect">
12+
<HeatMapCellBorder Width = "1" Radius = "4" Color = "White" ></HeatMapCellBorder>
13+
</HeatMapCellSettings>
14+
<HeatMapLegendSettings ShowLabel="true"></HeatMapLegendSettings>
15+
</SfHeatMap>
16+
17+
@code{
18+
int[,] GetDefaultData()
19+
{
20+
int[,] dataSource = new int[,]
21+
{
22+
{73, 39, 26, 39, 94, 0},
23+
{93, 58, 53, 38, 26, 68},
24+
{99, 28, 22, 4, 66, 90},
25+
{14, 26, 97, 69, 69, 3},
26+
{7, 46, 47, 47, 88, 6},
27+
{41, 55, 73, 23, 3, 79},
28+
};
29+
return dataSource;
30+
}
31+
string[] XAxisLabels = new string[] {"Nancy", "Andrew", "Janet", "Margaret", "Steven", "Michael" };
32+
string[] YAxisLabels = new string[] { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
33+
public object HeatMapData { get; set; }
34+
protected override void OnInitialized()
35+
{
36+
HeatMapData = GetDefaultData();
37+
}
38+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
@page "/cellhighlighting"
2+
3+
@using Syncfusion.Blazor.HeatMap
4+
<AppearanceRoute></AppearanceRoute>
5+
6+
<SfHeatMap DataSource="@HeatMapData">
7+
<HeatMapXAxis Labels="@XAxisLabels"></HeatMapXAxis>
8+
<HeatMapYAxis Labels="@YAxisLabels"></HeatMapYAxis>
9+
<HeatMapTitleSettings Text="Sales Revenue per Employee (in 1000 US$)">
10+
</HeatMapTitleSettings>
11+
<HeatMapCellSettings ShowLabel="true" TileType="CellType.Rect" EnableCellHighlighting="true"></HeatMapCellSettings>
12+
<HeatMapLegendSettings ShowLabel="true" Position="LegendPosition.Right" EnableSmartLegend="true" ToggleVisibility="true"></HeatMapLegendSettings>
13+
</SfHeatMap>
14+
15+
@code{
16+
int[,] GetDefaultData()
17+
{
18+
int[,] dataSource = new int[,]
19+
{
20+
{73, 39, 26, 39, 94, 0},
21+
{93, 58, 53, 38, 26, 68},
22+
{99, 28, 22, 4, 66, 90},
23+
{14, 26, 97, 69, 69, 3},
24+
{7, 46, 47, 47, 88, 6},
25+
{41, 55, 73, 23, 3, 79}
26+
};
27+
return dataSource;
28+
}
29+
string[] XAxisLabels = new string[] {"Nancy", "Andrew", "Janet", "Margaret", "Steven", "Michael" };
30+
string[] YAxisLabels = new string[] { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
31+
public object HeatMapData { get; set; }
32+
protected override void OnInitialized()
33+
{
34+
HeatMapData = GetDefaultData();
35+
}
36+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
@page "/datalabel"
2+
3+
@using Syncfusion.Blazor.HeatMap
4+
<AppearanceRoute></AppearanceRoute>
5+
6+
<SfHeatMap DataSource="@HeatMapData">
7+
<HeatMapXAxis Labels="@XAxisLabels"></HeatMapXAxis>
8+
<HeatMapYAxis Labels="@YAxisLabels"></HeatMapYAxis>
9+
<HeatMapTitleSettings Text="Sales Revenue per Employee (in 1000 US$)">
10+
</HeatMapTitleSettings>
11+
<HeatMapCellSettings ShowLabel="true" TileType="CellType.Rect"></HeatMapCellSettings>
12+
<HeatMapMargin Left="15" Right="15" Top="15" Bottom="15"></HeatMapMargin>
13+
</SfHeatMap>
14+
15+
@code{
16+
int[,] GetDefaultData()
17+
{
18+
int[,] dataSource = new int[,]
19+
{
20+
{73, 39, 26, 39, 94, 0},
21+
{93, 58, 53, 38, 26, 68},
22+
{99, 28, 22, 4, 66, 90},
23+
{14, 26, 97, 69, 69, 3},
24+
{7, 46, 47, 47, 88, 6},
25+
{41, 55, 73, 23, 3, 79}
26+
};
27+
return dataSource;
28+
}
29+
string[] XAxisLabels = new string[] {"Nancy", "Andrew", "Janet", "Margaret", "Steven", "Michael" };
30+
string[] YAxisLabels = new string[] { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
31+
public object HeatMapData { get; set; }
32+
protected override void OnInitialized()
33+
{
34+
HeatMapData = GetDefaultData();
35+
}
36+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
@page "/format"
2+
3+
@using Syncfusion.Blazor.HeatMap
4+
<AppearanceRoute></AppearanceRoute>
5+
6+
<SfHeatMap DataSource="@HeatMapData">
7+
<HeatMapXAxis Labels="@XAxisLabels"></HeatMapXAxis>
8+
<HeatMapYAxis Labels="@YAxisLabels"></HeatMapYAxis>
9+
<HeatMapTitleSettings Text="Sales Revenue per Employee (in 1000 US$)">
10+
</HeatMapTitleSettings>
11+
<HeatMapCellSettings ShowLabel="true" TileType="CellType.Rect" Format="{value} $"></HeatMapCellSettings>
12+
<HeatMapMargin Left="15" Right="15" Top="15" Bottom="15"></HeatMapMargin>
13+
</SfHeatMap>
14+
15+
@code{
16+
int[,] GetDefaultData()
17+
{
18+
int[,] dataSource = new int[,]
19+
{
20+
{73, 39, 26, 39, 94, 0},
21+
{93, 58, 53, 38, 26, 68},
22+
{99, 28, 22, 4, 66, 90},
23+
{14, 26, 97, 69, 69, 3},
24+
{7, 46, 47, 47, 88, 6},
25+
{41, 55, 73, 23, 3, 79}
26+
};
27+
return dataSource;
28+
}
29+
string[] XAxisLabels = new string[] {"Nancy", "Andrew", "Janet", "Margaret", "Steven", "Michael" };
30+
string[] YAxisLabels = new string[] { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
31+
public object HeatMapData { get; set; }
32+
protected override void OnInitialized()
33+
{
34+
HeatMapData = GetDefaultData();
35+
}
36+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
@page "/margin"
2+
3+
@using Syncfusion.Blazor.HeatMap
4+
<AppearanceRoute></AppearanceRoute>
5+
6+
<SfHeatMap DataSource="@HeatMapData">
7+
<HeatMapXAxis Labels="@XAxisLabels"></HeatMapXAxis>
8+
<HeatMapYAxis Labels="@YAxisLabels"></HeatMapYAxis>
9+
<HeatMapTitleSettings Text="Sales Revenue per Employee (in 1000 US$)">
10+
</HeatMapTitleSettings>
11+
<HeatMapCellSettings ShowLabel="true" TileType="CellType.Rect"></HeatMapCellSettings>
12+
<HeatMapMargin Left="15" Right="15" Top="15" Bottom="15"></HeatMapMargin>
13+
<HeatMapLegendSettings ShowLabel="true" Position="LegendPosition.Right" EnableSmartLegend="true" ToggleVisibility="true"></HeatMapLegendSettings>
14+
</SfHeatMap>
15+
16+
@code{
17+
int[,] GetDefaultData()
18+
{
19+
int[,] dataSource = new int[,]
20+
{
21+
{73, 39, 26, 39, 94, 0},
22+
{93, 58, 53, 38, 26, 68},
23+
{99, 28, 22, 4, 66, 90},
24+
{14, 26, 97, 69, 69, 3},
25+
{7, 46, 47, 47, 88, 6},
26+
{41, 55, 73, 23, 3, 79}
27+
};
28+
return dataSource;
29+
}
30+
string[] XAxisLabels = new string[] {"Nancy", "Andrew", "Janet", "Margaret", "Steven", "Michael" };
31+
string[] YAxisLabels = new string[] { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
32+
public object HeatMapData { get; set; }
33+
protected override void OnInitialized()
34+
{
35+
HeatMapData = GetDefaultData();
36+
}
37+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
@page "/textstyle"
2+
3+
@using Syncfusion.Blazor.HeatMap
4+
<AppearanceRoute></AppearanceRoute>
5+
6+
<SfHeatMap DataSource="@HeatMapData">
7+
<HeatMapXAxis Labels="@XAxisLabels"></HeatMapXAxis>
8+
<HeatMapYAxis Labels="@YAxisLabels"></HeatMapYAxis>
9+
<HeatMapTitleSettings Text="Sales Revenue per Employee (in 1000 US$)">
10+
<HeatMapTitleTextStyle Size="15px" FontWeight="500" FontStyle="Italic" FontFamily="Segoe UI"></HeatMapTitleTextStyle>
11+
</HeatMapTitleSettings>
12+
<HeatMapCellSettings ShowLabel="true" TileType="CellType.Rect">
13+
<HeatMapCellTextStyle Size="15px" FontWeight="500" FontStyle="Italic" FontFamily="Segoe UI"></HeatMapCellTextStyle>
14+
</HeatMapCellSettings>
15+
<HeatMapMargin Left="15" Right="15" Top="15" Bottom="15"></HeatMapMargin>
16+
</SfHeatMap>
17+
18+
@code{
19+
int[,] GetDefaultData()
20+
{
21+
int[,] dataSource = new int[,]
22+
{
23+
{73, 39, 26, 39, 94, 0},
24+
{93, 58, 53, 38, 26, 68},
25+
{99, 28, 22, 4, 66, 90},
26+
{14, 26, 97, 69, 69, 3},
27+
{7, 46, 47, 47, 88, 6},
28+
{41, 55, 73, 23, 3, 79}
29+
};
30+
return dataSource;
31+
}
32+
string[] XAxisLabels = new string[] {"Nancy", "Andrew", "Janet", "Margaret", "Steven", "Michael" };
33+
string[] YAxisLabels = new string[] { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
34+
public object HeatMapData { get; set; }
35+
protected override void OnInitialized()
36+
{
37+
HeatMapData = GetDefaultData();
38+
}
39+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
@page "/title"
2+
3+
@using Syncfusion.Blazor.HeatMap
4+
<AppearanceRoute></AppearanceRoute>
5+
6+
<SfHeatMap DataSource="@HeatMapData">
7+
<HeatMapXAxis Labels="@XAxisLabels"></HeatMapXAxis>
8+
<HeatMapYAxis Labels="@YAxisLabels"></HeatMapYAxis>
9+
<HeatMapTitleSettings Text="Sales Revenue per Employee (in 1000 US$)">
10+
<HeatMapTitleTextStyle Size = "15px" FontWeight = "500" FontStyle = "Italic" FontFamily = "Segoe UI"></HeatMapTitleTextStyle>
11+
</HeatMapTitleSettings>
12+
<HeatMapCellSettings ShowLabel="true" TileType="CellType.Rect"></HeatMapCellSettings>
13+
<HeatMapMargin Left="15" Right="15" Top="15" Bottom="15"></HeatMapMargin>
14+
<HeatMapLegendSettings ShowLabel="true" Position="LegendPosition.Right" EnableSmartLegend="true" ToggleVisibility="true"></HeatMapLegendSettings>
15+
</SfHeatMap>
16+
17+
@code{
18+
int[,] GetDefaultData()
19+
{
20+
int[,] dataSource = new int[,]
21+
{
22+
{73, 39, 26, 39, 94, 0},
23+
{93, 58, 53, 38, 26, 68},
24+
{99, 28, 22, 4, 66, 90},
25+
{14, 26, 97, 69, 69, 3},
26+
{7, 46, 47, 47, 88, 6},
27+
{41, 55, 73, 23, 3, 79}
28+
};
29+
return dataSource;
30+
}
31+
string[] XAxisLabels = new string[] {"Nancy", "Andrew", "Janet", "Margaret", "Steven", "Michael" };
32+
string[] YAxisLabels = new string[] { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
33+
public object HeatMapData { get; set; }
34+
protected override void OnInitialized()
35+
{
36+
HeatMapData = GetDefaultData();
37+
}
38+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<table>
2+
<tr>
3+
<td><a href="categoryaxis">Category Axis</a></td>
4+
<td><a href="numericaxis">Numeric Axis</a></td>
5+
<td><a href="datetimeaxis">DateTime Axis</a></td>
6+
<td><a href="inversedaxis">Inversed Axis</a></td>
7+
</tr>
8+
<tr>
9+
<td><a href="opposedaxis">Opposed Axis</a></td>
10+
<td><a href="labelformatting">Label Formatting</a></td>
11+
<td><a href="axisintervals">Axis Intervals</a></td>
12+
<td><a href="axislabelincrement">Axis Label Increment</a></td>
13+
</tr>
14+
</table>
15+
16+
17+
<style>
18+
a {
19+
padding-right: 75px;
20+
}
21+
</style>
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
@page "/axisintervals"
2+
3+
@using Syncfusion.Blazor.HeatMap
4+
<AxisRoute></AxisRoute>
5+
6+
<SfHeatMap DataSource="@HeatMapData">
7+
<HeatMapTitleSettings Text="Sales Revenue per Employee (in 1000 US$)">
8+
</HeatMapTitleSettings>
9+
<HeatMapXAxis Labels="@XAxisLabels" ValueType="Syncfusion.Blazor.HeatMap.ValueType.Category"></HeatMapXAxis>
10+
<HeatMapYAxis Labels="@YAxisLabels" ValueType="Syncfusion.Blazor.HeatMap.ValueType.DateTime" Minimum="@Minimum" Interval=2 Maximum="@Maximum" IntervalType="IntervalType.Months"></HeatMapYAxis>
11+
</SfHeatMap>
12+
13+
@code{
14+
int[,] GetDefaultData()
15+
{
16+
int[,] dataSource = new int[,]
17+
{
18+
{73, 39, 26, 39, 94, 0},
19+
{93, 58, 53, 38, 26, 68},
20+
{99, 28, 22, 4, 66, 90},
21+
{14, 26, 97, 69, 69, 3},
22+
{7, 46, 47, 47, 88, 6},
23+
{41, 55, 73, 23, 3, 79}
24+
};
25+
return dataSource;
26+
}
27+
public object Minimum = new DateTime(2007, 2, 1);
28+
public object Maximum = new DateTime(2007, 7, 1);
29+
string[] XAxisLabels = new string[] { "Nancy", "Andrew", "Janet", "Margaret", "Steven", "Michael" };
30+
string[] YAxisLabels = new string[] { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
31+
public object HeatMapData { get; set; }
32+
protected override void OnInitialized()
33+
{
34+
HeatMapData = GetDefaultData();
35+
}
36+
}

0 commit comments

Comments
 (0)