Skip to content

Commit 701525a

Browse files
insert the trackball view to behavior layout index
1 parent b906b4b commit 701525a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

maui/src/Charts/SfCartesianChart.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1345,7 +1345,8 @@ internal void UpdateView()
13451345
{
13461346
if (!_chartArea.Contains(_trackballView))
13471347
{
1348-
_chartArea.Add(_trackballView);
1348+
var _index = _chartArea.IndexOf(BehaviorLayout);
1349+
_chartArea.Insert(_index, _trackballView);
13491350
}
13501351

13511352
if (!_chartArea.Contains(_zoomPanView))

0 commit comments

Comments
 (0)