Skip to content

Commit 125b034

Browse files
Merge pull request #270 from syncfusion-content/Added_API_links_FastScatter_EmptyPoint_UG
Added the API links for Empty Points and Fast Scatter UG
2 parents 1172a3e + 47cf8fa commit 125b034

File tree

3 files changed

+48
-39
lines changed

3 files changed

+48
-39
lines changed

maui-toolkit/Cartesian-Charts/EmptyPoints.md

Lines changed: 9 additions & 9 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,20 +28,20 @@ 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

3838
This property provides the following options.
3939

4040
* **None** - Empty points are not rendered. This is the default behavior.
4141
* **Zero** - Empty points will be replaced with zero.
4242
* **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

@@ -82,7 +82,7 @@ The following code example shows the [EmptyPointMode]() as `Zero`.
8282

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

85-
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`.
8686

8787
{% tabs %}
8888

@@ -124,11 +124,11 @@ The following code example shows the [EmptyPointMode]() as `Average`.
124124
![EmptyPoint Mode Average in MAUI Chart](EmptyPoints_images/EmptyPoints_Mode_Average.png)
125125

126126
## Empty Point Customization
127-
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]().
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).
128128

129-
* [Fill]() - Gets or sets the fill color for the empty points.
130-
* [Stroke]() - Gets or sets the stroke color for empty points.
131-
* [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.
132132

133133
{% tabs %}
134134

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)