Skip to content

Commit 11b87c9

Browse files
Merge pull request #194 from syncfusion/to-fix-the-AOT-compilation-issue-of-charts
Fixed the issue of Axis range not updated when publish with AOT Trim support enabled
2 parents 78741d6 + a187da1 commit 11b87c9

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

maui/src/Charts/Utils/DoubleRange.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ namespace Syncfusion.Maui.Toolkit.Charts
88
public struct DoubleRange
99
{
1010
#region Members
11-
/// <summary>
12-
/// Initializes _empty
13-
/// </summary>
14-
static readonly DoubleRange _empty = new(double.NaN, double.NaN);
11+
1512
readonly bool _isEmpty;
1613

1714
/// <summary>
@@ -36,7 +33,7 @@ public static DoubleRange Empty
3633
{
3734
get
3835
{
39-
return _empty;
36+
return new DoubleRange(double.NaN, double.NaN);
4037
}
4138
}
4239

0 commit comments

Comments
 (0)