Skip to content

Commit 144f4a5

Browse files
Merge pull request #258 from syncfusion-content/Modify_EmptyPoint_UG
Modified the Empty Point UG Documentation
2 parents b065a2e + 6009fa7 commit 144f4a5

File tree

5 files changed

+10
-13
lines changed

5 files changed

+10
-13
lines changed

maui-toolkit/Cartesian-Charts/EmptyPoints.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ By default, the [EmptyPointMode]() property is `None`. So the empty points will
3535
## Empty Point Mode
3636
The [EmptyPointMode]() property of series specifies how empty points should be handled.
3737

38-
This property is an enumeration with the following options:
38+
This property provides the following options.
3939

40-
* None - Empty points are not rendered. This is the default behavior.
41-
* Zero - Empty points will be replaced with zero.
42-
* Average - Empty points will be replaced with the average value of the surrounding data points.
40+
* **None** - Empty points are not rendered. This is the default behavior.
41+
* **Zero** - Empty points will be replaced with zero.
42+
* **Average** - Empty points will be replaced with the average value of the surrounding data points.
4343

4444
The following code example shows the [EmptyPointMode]() as `Zero`.
4545

@@ -48,14 +48,14 @@ The following code example shows the [EmptyPointMode]() as `Zero`.
4848
{% highlight xaml %}
4949

5050
<chart:SfCartesianChart>
51-
51+
5252
.....
53-
5453
<chart:LineSeries ItemsSource="{Binding ProductSales}"
5554
XBindingPath="Product"
5655
YBindingPath="Sales"
5756
EmptyPointMode="Zero">
5857
</chart:LineSeries>
58+
5959
</chart:SfCartesianChart>
6060

6161
{% endhighlight %}
@@ -65,7 +65,6 @@ The following code example shows the [EmptyPointMode]() as `Zero`.
6565
SfCartesianChart chart = new SfCartesianChart();
6666

6767
.....
68-
6968
LineSeries series = new LineSeries()
7069
{
7170
ItemsSource = new ViewModel().ProductSales,
@@ -92,12 +91,12 @@ The following code example shows the [EmptyPointMode]() as `Average`.
9291
<chart:SfCartesianChart>
9392

9493
.....
95-
9694
<chart:ColumnSeries ItemsSource="{Binding ProductSales}"
9795
XBindingPath="Product"
9896
YBindingPath="Sales"
9997
EmptyPointMode="Average">
10098
</chart:ColumnSeries>
99+
101100
</chart:SfCartesianChart>
102101

103102
{% endhighlight %}
@@ -107,7 +106,6 @@ The following code example shows the [EmptyPointMode]() as `Average`.
107106
SfCartesianChart chart = new SfCartesianChart();
108107

109108
.....
110-
111109
ColumnSeries series = new ColumnSeries()
112110
{
113111
ItemsSource = new ViewModel().ProductSales,
@@ -125,7 +123,7 @@ The following code example shows the [EmptyPointMode]() as `Average`.
125123

126124
![EmptyPoint Mode Average in MAUI Chart](EmptyPoints_images/EmptyPoints_Mode_Average.png)
127125

128-
## Customizing Empty Points
126+
## Empty Point Customization
129127
The [EmptyPointSettings]() property allows you to customize the appearance of empty points in a series. This enables you to adjust various visual aspects of empty points, making them more distinct from the other data points. You can modify the following properties within [EmptyPointSettings]().
130128

131129
* [Fill]() - Gets or sets the fill color for the empty points.
@@ -139,7 +137,6 @@ The [EmptyPointSettings]() property allows you to customize the appearance of em
139137
<chart:SfCartesianChart>
140138

141139
.....
142-
143140
<chart:LineSeries ItemsSource="{Binding ProductSales}"
144141
XBindingPath="Product"
145142
YBindingPath="Sales"
@@ -152,6 +149,7 @@ The [EmptyPointSettings]() property allows you to customize the appearance of em
152149
<chart:EmptyPointSettings Fill="Orange" StrokeWidth="2"/>
153150
</chart:LineSeries.EmptyPointSettings>
154151
</chart:LineSeries>
152+
155153
</chart:SfCartesianChart>
156154

157155
{% endhighlight %}
@@ -161,7 +159,6 @@ The [EmptyPointSettings]() property allows you to customize the appearance of em
161159
SfCartesianChart chart = new SfCartesianChart();
162160

163161
.....
164-
165162
LineSeries series = new LineSeries()
166163
{
167164
ItemsSource = new ViewModel().ProductSales,
@@ -191,4 +188,4 @@ The [EmptyPointSettings]() property allows you to customize the appearance of em
191188

192189
![Customize EmptyPoints in MAUI Chart](EmptyPoints_images\Customize_EmptyPoints.png)
193190

194-
N> The EmptyPoints feature is not supported for Histogram and BoxAndWhisker series.
191+
N> EmptyPoint support is not applicable for Histogram and BoxAndWhisker series.
3.21 KB
Loading
1.3 KB
Loading
1.18 KB
Loading
3.73 KB
Loading

0 commit comments

Comments
 (0)