ScatterLine Series
Overview
The ScatterLineSeries are represented on the chart as data points connected with straight line segments. The ScatterLineSeries inherit from the ScatterPointSeries class and also require both axes of the chart to be of type NumericalAxis.
Features
ScatterLineSeries provide the following properties to change their style:
- Stroke (Color): changes the color used to draw lines.
- StrokeThickness (double): changes the width of the lines.
If you want to style the series, on iOS both
Stroke
andStrokeThickness
must be set
Example
Here is an example how to create RadCartesianChart with ScatterLine Series:
First, create the needed business objects, for example:
Then create a ViewModel:
Finally, use the following snippet to declare a RadCartesianChart with ScatterLine Series in XAML and in C#:
Where the telerikChart namespace is the following:
And here is the result:
A sample ScatterLine Series example can be found in the Chart/Series folder of the SDK Samples Browser application.
Customization Example
Here we make some customizations on the ScatterLine Series applying Stroke
and StrokeThickness
to the series. We extended the example above:
Here is the result: