# ScatterPointSeries

This series is visualized on the screen as separate points representing each of the data points. As all scatter series, this one also requires the RadCartesianChart to define two LinearAxis as a vertical and horizontal axis.

* [Declaratively Defined Series](https://www.telerik.com/products/wpf/documentation/controls/radchartview/series/cartesianchart-series/point-series/scatterpointseries#declaratively-defined-series)
* [Properties](https://www.telerik.com/products/wpf/documentation/controls/radchartview/series/cartesianchart-series/point-series/scatterpointseries#properties)
* [Data Binding](https://www.telerik.com/products/wpf/documentation/controls/radchartview/series/cartesianchart-series/point-series/scatterpointseries#data-binding)
* [Styling the Series](https://www.telerik.com/products/wpf/documentation/controls/radchartview/series/cartesianchart-series/point-series/scatterpointseries#styling-the-series)

## Declaratively defined series

You can use the following definition to display a simple ScatterPointSeries

**Example 1: Declaring an ScatterPointSeries in XAML**

```XAML
<telerik:RadCartesianChart Palette="Windows8">
    <telerik:RadCartesianChart.HorizontalAxis>
        <telerik:LinearAxis/>
    </telerik:RadCartesianChart.HorizontalAxis>
    <telerik:RadCartesianChart.VerticalAxis>
        <telerik:LinearAxis />
    </telerik:RadCartesianChart.VerticalAxis>
    <telerik:RadCartesianChart.Series>
        <telerik:ScatterPointSeries>
            <telerik:ScatterPointSeries.DataPoints>
                <telerik:ScatterDataPoint XValue="0" YValue="2" />
                <telerik:ScatterDataPoint XValue="1" YValue="5" />
                <telerik:ScatterDataPoint XValue="2" YValue="3" />
                <telerik:ScatterDataPoint XValue="3" YValue="10" />
                <telerik:ScatterDataPoint XValue="4" YValue="9" />
                <telerik:ScatterDataPoint XValue="5" YValue="7" />
                <telerik:ScatterDataPoint XValue="6" YValue="1" />
            </telerik:ScatterPointSeries.DataPoints>
        </telerik:ScatterPointSeries>
    </telerik:RadCartesianChart.Series>
</telerik:RadCartesianChart>
```

> caption ScatterPointSeries visual appearance

![Telerik UI for WPF RadChartView ScatterPointSeries visual appearance](https://www.telerik.com/products/wpf/documentation/assets/ec608038d2568c5ec554372277bea94d/radchartview-series-scatterpointseries.png)

## Properties

* **CategoryBinding**: A property of type **DataPointBinding** that gets or sets the property path that determines the category value of the data point.
* **ValueBinding**: A property of type **DataPointBinding** that gets or sets the property path that determines the value of the data point.
* **PointSize**: A property of type **Size** that get or sets the size of the points. This property will be ignored if **PointTemplate** property is set.

## Data Binding

You can use the **YValueBinding** and **XValueBinding** properties of the ScatterPointSeries to bind the DataPoints’ properties to the properties from your view models.

**Example 2: Defining the view model**

```C#
public class PlotInfo
{
    public double XValue { get; set; }
    public double YValue { get; set; }
}

void SetDataContext()
{
    //.......
    this.DataContext = new ObservableCollection<PlotInfo>
    {
        new PlotInfo() { XValue = 0, YValue = 2},
    	//....
    };
}
```

**Example 3: Specify a ScatterPointSeries in XAML**

```XAML
<telerik:ScatterPointSeries ItemsSource="{Binding}" YValueBinding="YValue" XValueBinding="XValue"/>
```

> See the [Create Data-Bound Chart](https://www.telerik.com/products/wpf/documentation/controls/radchartview/populating-with-data/series-databinding) for more information on data binding in the RadChartView suite.

## Styling the Series

You can see how to style the series using different properties in the [ScatterPointSeries section](https://www.telerik.com/products/wpf/documentation/controls/radchartview/styles-and-templates/customizing-cartesianchart-series) of the Customizing CartesianChart Series help article.

Additionally, you can use the Palette property of the chart to change the colors of the ScatterPointSeries on a global scale. You can find more information about this feature in the [Palettes](https://www.telerik.com/products/wpf/documentation/controls/radchartview/features/palettes/introduction) section in our help documentation.

## See Also

* [Chart Series Overview](https://www.telerik.com/products/wpf/documentation/controls/radchartview/series/chartseries)
* [Line Series Overview](https://www.telerik.com/products/wpf/documentation/controls/radchartview/series/cartesianchart-series/line-series/lineseries)
* [Create Data-Bound Chart](https://www.telerik.com/products/wpf/documentation/controls/radchartview/populating-with-data/series-databinding)
