You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MAUI/SunburstChart/DrillDown.md
+32-32Lines changed: 32 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,9 @@ documentation: ug
9
9
10
10
# Drill Down in .NET MAUI Sunburst Chart
11
11
12
-
The drill-down provides better visualization of hierarchy. Large set of data can be virtualized into minimal views. Each level of the segments can be drilled down. The sunburst chart provides animation along with the drill-down support. Double tapping the segment performs the drill-down operation. Toolbar will be enabled on drill-down that helps in performing zoom back and reset operations.
12
+
The drill-down provides better visualization of hierarchy. Large set of data can be virtualized into minimal views. Each level of the segments can be drilled down. The Sunburst Chart provides animation along with the drill-down support. Double tapping the segment performs the drill-down operation. Toolbar will be enabled on drill-down that helps in performing zoom back and reset operations.
13
13
14
-
To enable this feature, set the `EnableDrillDown` property to true:
14
+
To enable this feature, set the `EnableDrillDown` property to true in SfSunburstChart.
15
15
16
16
{% tabs %}
17
17
@@ -26,26 +26,33 @@ To enable this feature, set the `EnableDrillDown` property to true:
26
26
{% highlight c# %}
27
27
28
28
SfSunburstChart sunburst = new SfSunburstChart();
29
-
sunburst.ShowLabels = true;
29
+
sunburst.EnableDrillDown = true;
30
30
. . .
31
31
this.Content = sunburst;
32
32
33
33
{% endhighlight %}
34
34
35
35
{% endtabs %}
36
36
37
-
## Positioning Toolbar
37
+
## Toolbar alignment
38
38
39
-
The toolbar's position within the Sunburst Chart can be adjusted both horizontally and vertically using the `OffsetX` and `OffsetY` properties of the `SunburstToolbarSettings` class.
39
+
The vertical and the horizontal alignments of the toolbar can be customized using the `VerticalAlignment` and `HorizontalAlignment` properties, respectively.
40
+
41
+
Both the alignment properties has the following enum types:
42
+
43
+
* Start: Aligns the toolbar to the top (for vertical) or left (for horizontal) of the chart plot area.
44
+
* Center: Aligns the toolbar to the center of the chart plot area, either vertically or horizontally.
45
+
* End: Aligns the toolbar to the bottom (for vertical) or right (for horizontal) of the chart plot area.
The vertical and the horizontal alignments of the toolbar can be customized using the `VerticalAlignment` and `HorizontalAlignment` properties, respectively.
78
+
## Toolbar customization
74
79
75
-
Both the alignment properties has the following enum types:
80
+
The appearance of the drill-down toolbar in the Sunburst Chart can be customized using the following properties
76
81
77
-
* Center: Toolbar takes the specified offset value as the center of the toolbar and get positioned.
78
-
* End: Toolbar takes the specified offset value as the start of the toolbar and get positioned.
79
-
* Start: Toolbar takes the specified offset value as the end of the toolbar and get positioned.
82
+
*`IconBrush`: Gets or sets the brush used to style the icons within the drill-down toolbar.
83
+
*`Background`: Gets or sets the background brush of the drill-down toolbar.
80
84
81
85
{% tabs %}
82
86
@@ -85,8 +89,7 @@ Both the alignment properties has the following enum types:
ackground = new SolidColorBrush(Color.FromArgb("#2989F9")),
104
107
};
105
108
sunburst.ToolbarSettings = toolbarSettings;
106
109
this.Content = sunburst;
@@ -109,21 +112,18 @@ this.Content = sunburst;
109
112
110
113
{% endtabs %}
111
114
112
-
## Toolbar customization
113
-
114
-
The appearance of the drill-down toolbar in the Sunburst Chart can be customized using the following properties
115
+
## Toolbar Positioning
115
116
116
-
*`IconBrush`: Gets or sets the brush used to style the icons within the drill-down toolbar.
117
-
*`Background`: Gets or sets the background brush of the drill-down toolbar.
117
+
The toolbar's position within the Sunburst Chart can be adjusted both horizontally and vertically using the `OffsetX` and `OffsetY` properties of the `SunburstToolbarSettings` class.
0 commit comments