Skip to content

Commit 21ae851

Browse files
commit
1 parent aa6b302 commit 21ae851

File tree

7 files changed

+14
-6
lines changed

7 files changed

+14
-6
lines changed

MAUI/SunburstChart/DrillDown.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ this.Content = sunburst;
3434

3535
{% endtabs %}
3636

37+
![Drill Down in MAUI Sunburst Chart.](drill_down_images/maui_drill_down.gif)
38+
3739
## Toolbar Alignment
3840

3941
The vertical and the horizontal alignments of the toolbar can be customized using the `VerticalAlignment` and `HorizontalAlignment` properties, respectively.
@@ -52,7 +54,7 @@ Both the alignment properties has the following enum types:
5254
. . .
5355
<chart:SfSunburstChart.ToolbarSettings>
5456
<chart:SunburstToolbarSettings HorizontalAlignment="Center"
55-
VerticalAlignment="Center"/>
57+
VerticalAlignment="Center"/>
5658
</chart:SfSunburstChart.ToolbarSettings>
5759
</sunburst:SfSunburstChart>
5860

@@ -75,6 +77,8 @@ this.Content = sunburst;
7577

7678
{% endtabs %}
7779

80+
![Drill Down Toolbar Alignment.](drill_down_images/maui_toolbar_alignment.png)
81+
7882
## Toolbar Positioning
7983

8084
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.
@@ -86,7 +90,7 @@ The toolbar's position within the Sunburst Chart can be adjusted both horizontal
8690
<sunburst:SfSunburstChart EnableDrillDown="True">
8791
. . .
8892
<chart:SfSunburstChart.ToolbarSettings >
89-
<chart:SunburstToolbarSettings OffsetX="50" OffsetY="100"/>
93+
<chart:SunburstToolbarSettings OffsetX="-50" OffsetY="200"/>
9094
</chart:SfSunburstChart.ToolbarSettings>
9195
</sunburst:SfSunburstChart>
9296

@@ -99,8 +103,8 @@ sunburst.EnableDrillDown = true;
99103
. . .
100104
SunburstToolbarSettings toolbarSettings = new SunburstToolbarSettings()
101105
{
102-
OffsetX = 50,
103-
OffsetY = 100,
106+
OffsetX = -50,
107+
OffsetY = 200,
104108
};
105109
sunburst.ToolbarSettings = toolbarSettings;
106110
this.Content = sunburst;
@@ -109,6 +113,8 @@ this.Content = sunburst;
109113

110114
{% endtabs %}
111115

116+
![Drill Down Toolbar Positioning.](drill_down_images/maui_toolbar_positioning.png)
117+
112118
## Toolbar Customization
113119

114120
The appearance of the drill-down toolbar in the Sunburst Chart can be customized using the following properties
@@ -145,3 +151,5 @@ this.Content = sunburst;
145151
{% endhighlight %}
146152

147153
{% endtabs %}
154+
155+
![Drill Down TToolbar Customization.](drill_down_images/maui_toolbar_customization.png)
479 KB
Loading
15.2 KB
Loading
9.99 KB
Loading
12.2 KB
Loading

MAUI/SunburstChart/Selection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ This mode highlights the selected segment using the brush defined in the `Fill`
169169
<chart:SfSunburstChart>
170170
. . .
171171
<chart:SfSunburstChart.SelectionSettings>
172-
<chart:SunburstSelectionSettings Fill="Pink" DisplayMode="HighlightByBrush" Type="Child"/>
172+
<chart:SunburstSelectionSettings Fill="DarkRed" DisplayMode="HighlightByBrush" Type="Child"/>
173173
</chart:SfSunburstChart.SelectionSettings>
174174
</chart:SfSunburstChart>
175175

@@ -181,7 +181,7 @@ SfSunburstChart sunburstChart = new SfSunburstChart();
181181
. . .
182182
SunburstSelectionSettings selectionSettings = new SunburstSelectionSettings
183183
{
184-
Fill = Colors.Pink,
184+
Fill = Colors.DarkRed,
185185
DisplayMode = SunburstSelectionDisplayMode.HighlightByBrush,
186186
Type = SunburstSelectionType.Child,
187187
};
59 KB
Loading

0 commit comments

Comments
 (0)