.NET MAUI Chart ScatterSpline Series
The ScatterSpline Series are represented on the chart as data points connected with curved line segments. The ScatterSpline Series inherit from the ScatterPointSeries
class and also require both axes of the chart to be Numerical Axes.
Features
The ScatterSpline Series provides the following properties:
-
Stroke
(Color)—Changes the color for drawing lines. -
StrokeThickness
(double)—Changes the width of the lines.
ScatterSpline Series Example
The following example shows how to create a RadCartesianChart
with a ScatterSpline Series:
1. Create the needed business objects, for example:
2. Create a ViewModel
:
3. Use the following snippet to declare a RadCartesianChart
with a ScatterSpline Series in XAML:
The following image shows the end result:
Customization Example
You can further customize the ScatterSpline Series: