@@ -17,7 +17,7 @@ The data collection that is passed to the chart can have NaN or Null values that
1717
1818{% highlight C# %}
1919
20- ProductSales = new ObservableCollection<Model>();
20+ ProductSales = new ObservableCollection<Model>();
2121 ProductSales.Add(new Model() { Product = "Electronics", Sales = 60 });
2222 ProductSales.Add(new Model() { Product = "Clothing", Sales = 40 });
2323 ProductSales.Add(new Model() { Product = "Groceries", Sales = double.NaN });
@@ -47,13 +47,13 @@ The following code example shows the [EmptyPointMode](https://help.syncfusion.co
4747
4848{% highlight xaml %}
4949
50- <chart:SfCartesianChart>
51-
50+ <chart:SfCartesianChart>
51+
5252 .....
5353 <chart:LineSeries ItemsSource="{Binding ProductSales}"
54- XBindingPath="Product"
55- YBindingPath="Sales"
56- EmptyPointMode="Zero">
54+ XBindingPath="Product"
55+ YBindingPath="Sales"
56+ EmptyPointMode="Zero">
5757 </chart:LineSeries>
5858
5959 </chart:SfCartesianChart>
@@ -62,7 +62,7 @@ The following code example shows the [EmptyPointMode](https://help.syncfusion.co
6262
6363{% highlight c# %}
6464
65- SfCartesianChart chart = new SfCartesianChart();
65+ SfCartesianChart chart = new SfCartesianChart();
6666
6767 .....
6868 LineSeries series = new LineSeries()
@@ -88,13 +88,13 @@ The following code example shows the [EmptyPointMode](https://help.syncfusion.co
8888
8989{% highlight xaml %}
9090
91- <chart:SfCartesianChart>
91+ <chart:SfCartesianChart>
9292
9393 .....
9494 <chart:ColumnSeries ItemsSource="{Binding ProductSales}"
95- XBindingPath="Product"
96- YBindingPath="Sales"
97- EmptyPointMode="Average">
95+ XBindingPath="Product"
96+ YBindingPath="Sales"
97+ EmptyPointMode="Average">
9898 </chart:ColumnSeries>
9999
100100 </chart:SfCartesianChart>
@@ -103,15 +103,15 @@ The following code example shows the [EmptyPointMode](https://help.syncfusion.co
103103
104104{% highlight c# %}
105105
106- SfCartesianChart chart = new SfCartesianChart();
106+ SfCartesianChart chart = new SfCartesianChart();
107107
108108 .....
109109 ColumnSeries series = new ColumnSeries()
110110 {
111- ItemsSource = new ViewModel().ProductSales,
112- XBindingPath = "Product",
113- YBindingPath = "Sales",
114- EmptyPointMode = EmptyPointMode.Average
111+ ItemsSource = new ViewModel().ProductSales,
112+ XBindingPath = "Product",
113+ YBindingPath = "Sales",
114+ EmptyPointMode = EmptyPointMode.Average
115115 };
116116
117117 chart.Series.Add(series);
@@ -134,47 +134,47 @@ The [EmptyPointSettings](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.
134134
135135{% highlight xaml %}
136136
137- <chart:SfCartesianChart>
137+ <chart:SfCartesianChart>
138138
139- .....
140- <chart:LineSeries ItemsSource="{Binding ProductSales}"
141- XBindingPath="Product"
142- YBindingPath="Sales"
143- Fill="#3068F7"
144- StrokeWidth="2"
145- ShowMarkers="True"
146- ShowDataLabels="True"
147- EmptyPointMode="Average">
148- <chart:LineSeries.EmptyPointSettings>
139+ .....
140+ <chart:LineSeries ItemsSource="{Binding ProductSales}"
141+ XBindingPath="Product"
142+ YBindingPath="Sales"
143+ Fill="#3068F7"
144+ StrokeWidth="2"
145+ ShowMarkers="True"
146+ ShowDataLabels="True"
147+ EmptyPointMode="Average">
148+ <chart:LineSeries.EmptyPointSettings>
149149 <chart:EmptyPointSettings Fill="Orange" StrokeWidth="2"/>
150- </chart:LineSeries.EmptyPointSettings>
151- </chart:LineSeries>
150+ </chart:LineSeries.EmptyPointSettings>
151+ </chart:LineSeries>
152152
153153 </chart:SfCartesianChart>
154154
155155{% endhighlight %}
156156
157157{% highlight c# %}
158158
159- SfCartesianChart chart = new SfCartesianChart();
159+ SfCartesianChart chart = new SfCartesianChart();
160160
161161 .....
162162 LineSeries series = new LineSeries()
163163 {
164- ItemsSource = new ViewModel().ProductSales,
165- XBindingPath = "Product",
166- YBindingPath = "Sales",
167- Fill = Color.FromArgb("#3068F7"),
168- StrokeWidth = 2,
169- ShowMarkers = true,
170- ShowDataLabels = true,
171- EmptyPointMode = EmptyPointMode.Average
164+ ItemsSource = new ViewModel().ProductSales,
165+ XBindingPath = "Product",
166+ YBindingPath = "Sales",
167+ Fill = Color.FromArgb("#3068F7"),
168+ StrokeWidth = 2,
169+ ShowMarkers = true,
170+ ShowDataLabels = true,
171+ EmptyPointMode = EmptyPointMode.Average
172172 };
173173
174174 EmptyPointSettings emptypointSettings = new EmptyPointSettings()
175175 {
176- Fill = Colors.Orange,
177- StrokeWidth = 2
176+ Fill = Colors.Orange,
177+ StrokeWidth = 2
178178 };
179179
180180 series.EmptyPointSettings = emptypointSettings;
0 commit comments