We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c8c89e commit dc15982Copy full SHA for dc15982
maui/src/Charts/SfCartesianChart.cs
@@ -1959,6 +1959,17 @@ void ScheduleUpdateChart()
1959
1960
void ResetAnnotation()
1961
{
1962
+ int i = _annotationLayout.Children.Count - 1;
1963
+ if (i < 0) return;
1964
+
1965
+ do
1966
+ {
1967
+ if (_annotationLayout.Children[i] is not AnnotationDrawableView view)
1968
1969
+ _annotationLayout.Children.RemoveAt(i);
1970
+ }
1971
+ i--;
1972
+ } while (i >= 0);
1973
}
1974
1975
void RemoveAnnotation(int index, object item)
0 commit comments