Skip to content

Commit 0fec72c

Browse files
Merge pull request #269 from syncfusion-content/Update_API_Link_EmptyPoint_FastScatter_UG
Added the API links for Empty Points and Fast Scatter UG
2 parents cce9c6b + ab9d3bf commit 0fec72c

File tree

7 files changed

+58
-52
lines changed

7 files changed

+58
-52
lines changed

maui-toolkit/Cartesian-Charts/EmptyPoints.md

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ keywords: .net maui chart empty points, .net maui empty points customization, sy
1111
# Empty Points in .NET MAUI Chart
1212
Empty Points are used to indicate missing or null data in a series. These empty points can occur when data is unavailable, improperly formatted, or explicitly set as null or double.NaN. The chart provides options to handle and customize these empty points to enhance visualization and maintain the integrity of data representation.
1313

14-
[SfCartesianChart](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.SfCartesianChart.html) provides support for empty points, allowing users to handle missing data effectively.
14+
[SfCartesianChart](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.SfCartesianChart.html) provides support for empty points, allowing users to handle missing data effectively.
1515

1616
The data collection that is passed to the chart can have NaN or Null values that are considered as empty points. The empty point can be defined as in the below code example.
1717

@@ -28,34 +28,34 @@ The data collection that is passed to the chart can have NaN or Null values that
2828

2929
{% endhighlight %}
3030

31-
By default, the [EmptyPointMode]() property is `None`. So the empty points will not be rendered as shown in the below.
31+
By default, the [EmptyPointMode](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.EmptyPointMode.html) property is `None`. So the empty points will not be rendered as shown in the below.
3232

3333
![Empty Points in MAUI Chart](EmptyPoints_images/EmptyPoints_Default.png)
3434

3535
## Empty Point Mode
36-
The [EmptyPointMode]() property of series specifies how empty points should be handled.
36+
The [EmptyPointMode](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.EmptyPointMode.html) 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

44-
The following code example shows the [EmptyPointMode]() as `Zero`.
44+
The following code example shows the [EmptyPointMode](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.EmptyPointMode.html) as `Zero`.
4545

4646
{% tabs %}
4747

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,
@@ -83,7 +82,7 @@ The following code example shows the [EmptyPointMode]() as `Zero`.
8382

8483
![EmptyPoint Mode Zero in MAUI Chart](EmptyPoints_images/EmptyPoints_Mode_Zero.png)
8584

86-
The following code example shows the [EmptyPointMode]() as `Average`.
85+
The following code example shows the [EmptyPointMode](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.EmptyPointMode.html) as `Average`.
8786

8887
{% tabs %}
8988

@@ -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,12 +123,12 @@ 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
129-
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]().
126+
## Empty Point Customization
127+
The [EmptyPointSettings](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.EmptyPointSettings.html) 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](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.EmptyPointSettings.html).
130128

131-
* [Fill]() - Gets or sets the fill color for the empty points.
132-
* [Stroke]() - Gets or sets the stroke color for empty points.
133-
* [StrokeWidth]() - Gets or sets the stroke thickness for empty points.
129+
* [Fill](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.EmptyPointSettings.html#Syncfusion_Maui_Toolkit_Charts_EmptyPointSettings_Fill) - Gets or sets the fill color for the empty points.
130+
* [Stroke](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.EmptyPointSettings.html#Syncfusion_Maui_Toolkit_Charts_EmptyPointSettings_Stroke) - Gets or sets the stroke color for empty points.
131+
* [StrokeWidth](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.EmptyPointSettings.html#Syncfusion_Maui_Toolkit_Charts_EmptyPointSettings_StrokeWidth) - Gets or sets the stroke thickness for empty points.
134132

135133
{% tabs %}
136134

@@ -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

maui-toolkit/Cartesian-Charts/FastScatter.md

Lines changed: 39 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -10,55 +10,64 @@ Keywords: .net maui fast scatter chart, .net maui performance scatter chart, fas
1010

1111
# Fast Scatter in .NET MAUI Chart
1212

13-
The **FastScatterSeries** is a specialized scatter series designed to efficiently render a large number of data points. To render a fast scatter chart, create an instance of **FastScatterSeries**, and add it to the [Series](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.SfCartesianChart.html#Syncfusion_Maui_Toolkit_Charts_SfCartesianChart_Series) collection property of [SfCartesianChart](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.SfCartesianChart.html).
13+
The [FastScatterSeries](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.FastScatterSeries.html) is a specialized scatter series designed to efficiently render a large number of data points. To render a fast scatter chart, create an instance of [FastScatterSeries](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.FastScatterSeries.html), and add it to the [Series](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.SfCartesianChart.html#Syncfusion_Maui_Toolkit_Charts_SfCartesianChart_Series) collection property of [SfCartesianChart](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.SfCartesianChart.html).
1414

15-
The **PointHeight** and **PointWidth** properties in the FastScatterSeries control the height and width of scatter segments. The **Type** property allows you to change the rendering shape of the **FastScatterSeries**.
15+
The [PointHeight](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.FastScatterSeries.html#Syncfusion_Maui_Toolkit_Charts_FastScatterSeries_PointHeight) and [PointWidth](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.FastScatterSeries.html#Syncfusion_Maui_Toolkit_Charts_FastScatterSeries_PointWidth) properties in the FastScatterSeries control the height and width of scatter segments. The [Type](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.FastScatterSeries.html#Syncfusion_Maui_Toolkit_Charts_FastScatterSeries_Type) property allows you to change the rendering shape of the [FastScatterSeries](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.FastScatterSeries.html).
1616

1717
N> The Cartesian chart has [Series](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.SfCartesianChart.html#Syncfusion_Maui_Toolkit_Charts_SfCartesianChart_Series) as its default content.
1818

1919
{% tabs %}
2020

2121
{% highlight xaml %}
2222

23-
<chart:SfCartesianChart>
24-
<chart:SfCartesianChart.XAxes>
25-
<chart:NumericalAxis/>
26-
</chart:SfCartesianChart.XAxes>
23+
<chart:SfCartesianChart>
24+
<chart:SfCartesianChart.XAxes>
25+
<chart:NumericalAxis/>
26+
</chart:SfCartesianChart.XAxes>
2727

28-
<chart:SfCartesianChart.YAxes>
29-
<chart:NumericalAxis/>
30-
</chart:SfCartesianChart.YAxes>
28+
<chart:SfCartesianChart.YAxes>
29+
<chart:NumericalAxis/>
30+
</chart:SfCartesianChart.YAxes>
3131

32-
<chart:FastScatterSeries ItemsSource="{Binding Data}"
33-
XBindingPath="XValue"
34-
YBindingPath="YValue"
35-
PointHeight="8"
36-
PointWidth="8"/>
37-
</chart:SfCartesianChart>
32+
<chart:FastScatterSeries ItemsSource="{Binding Data1}"
33+
XBindingPath="XValue"
34+
YBindingPath="YValue" />
35+
36+
<chart:FastScatterSeries ItemsSource="{Binding Data2}"
37+
XBindingPath="XValue"
38+
YBindingPath="YValue" />
39+
40+
</chart:SfCartesianChart>
3841

3942
{% endhighlight %}
4043

4144
{% highlight c# %}
4245

43-
SfCartesianChart chart = new SfCartesianChart();
46+
SfCartesianChart chart = new SfCartesianChart();
47+
48+
NumericalAxis primaryAxis = new NumericalAxis();
49+
chart.XAxes.Add(primaryAxis);
4450

45-
NumericalAxis primaryAxis = new NumericalAxis();
46-
chart.XAxes.Add(primaryAxis);
51+
NumericalAxis secondaryAxis = new NumericalAxis();
52+
chart.YAxes.Add(secondaryAxis);
4753

48-
NumericalAxis secondaryAxis = new NumericalAxis();
49-
chart.YAxes.Add(secondaryAxis);
54+
FastScatterSeries scatterSeries1 = new FastScatterSeries
55+
{
56+
ItemsSource = new ViewModel().Data1,
57+
XBindingPath = "XValue",
58+
YBindingPath = "YValue",
59+
};
5060

51-
FastScatterSeries series = new FastScatterSeries()
52-
{
53-
ItemsSource = new ViewModel().Data,
54-
XBindingPath = "XValue",
55-
YBindingPath = "YValue",
56-
PointHeight = 8,
57-
PointWidth = 8,
58-
};
61+
FastScatterSeries scatterSeries2 = new FastScatterSeries
62+
{
63+
ItemsSource = new ViewModel().Data2,
64+
XBindingPath = "XValue",
65+
YBindingPath = "XValue",
66+
};
5967

60-
chart.Series.Add(series);
61-
this.Content = chart;
68+
chart.Series.Add(scatterSeries1);
69+
chart.Series.Add(scatterSeries2);
70+
this.Content = chart;
6271

6372
{% endhighlight %}
6473

7.2 KB
Loading

0 commit comments

Comments
 (0)