Skip to content

Commit f183070

Browse files
Updated the review suggestions.
1 parent fce44dc commit f183070

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

maui/src/Charts/Series/CartesianSeries.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1793,7 +1793,7 @@ internal double[] GetCardinalSpline(List<double> xValues, IList<double> yValues)
17931793

17941794
internal override void UpdateEmptyPointSettings()
17951795
{
1796-
if (!IsFillEmptyPoint && EmptyPointMode == EmptyPointMode.None)
1796+
if (!IsFillEmptyPoint || EmptyPointMode == EmptyPointMode.None)
17971797
{
17981798
return;
17991799
}

maui/src/Charts/SfCartesianChart.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1960,14 +1960,19 @@ void ScheduleUpdateChart()
19601960
void ResetAnnotation()
19611961
{
19621962
int i = _annotationLayout.Children.Count - 1;
1963-
if (i < 0) return;
1963+
1964+
if (i < 0)
1965+
{
1966+
return;
1967+
}
19641968

19651969
do
19661970
{
19671971
if (_annotationLayout.Children[i] is not AnnotationDrawableView view)
19681972
{
19691973
_annotationLayout.Children.RemoveAt(i);
19701974
}
1975+
19711976
i--;
19721977
} while (i >= 0);
19731978
}

0 commit comments

Comments
 (0)