You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-16Lines changed: 18 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
# How to handle the empty points gap in .NET MAUI Cartesian Chart
2
2
In .NET MAUI [SfCartesianChart](https://www.syncfusion.com/maui-controls/maui-cartesian-charts), empty points represent missing or null data in a series. These points can occur due to unavailable data, improper formatting, or explicit assignment of null or double.NaN.
3
3
4
+
In .NET MAUI [SfCartesianChart](https://www.syncfusion.com/maui-controls/maui-cartesian-charts), empty points represent missing or null data in a series. These points can occur due to unavailable data, improper formatting, or explicit assignment of null or double.NaN.
5
+
4
6
This article covers handling empty points using [EmptyPointMode](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.EmptyPointMode.html) to manage missing data and customizing empty points to enhance their visual appearance.
5
7
6
8
**Handling Empty Points Using EmptyPointMode**
@@ -19,7 +21,6 @@ Empty points are not rendered in the chart, leaving gaps in the series.
19
21
XBindingPath="Product"
20
22
YBindingPath="Sales"
21
23
StrokeWidth="2"
22
-
ShowDataLabels="True"
23
24
EmptyPointMode="None"
24
25
</chart:LineSeries>
25
26
@@ -35,14 +36,14 @@ LineSeries series = new LineSeries()
By default, the [EmptyPointMode](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.EmptyPointMode.html) property is set to [None](elp.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.EmptyPointMode.html#Syncfusion_Maui_Toolkit_Charts_EmptyPointMode_None).
109
107
110
108
**Customizing Empty Points**
@@ -119,42 +117,46 @@ The following example demonstrates how to customize empty points:
By using [EmptyPointMode](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.EmptyPointMode.html) and [EmptyPointSettings](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.EmptyPointSettings.html), you can efficiently manage missing data in .NET MAUI Cartesian Charts, ensuring a smooth, accurate, and visually appealing charting experience.
155
+
156
+
**Troubleshooting**
157
+
158
+
Path too long exception
159
+
160
+
If you are facing a path too long exception when building this example project, close Visual Studio and rename the repository to a shorter name before building the project.
161
+
162
+
For more details, refer to the KB on [How to handle the empty points gap in .NET MAUI Cartesian Chart]()
0 commit comments