Back to Devexpress

Series Points

wpf-6340-controls-and-libraries-charts-suite-chart-control-series-series-points.md

latest8.0 KB
Original Source

Series Points

  • Apr 17, 2025
  • 3 minutes to read

A series point is a visual element representing an individual data point. Its appearance depends on the series type.

View Example: Chart for WPF - Select a Series Point Marker Based on a Point Argument

View Example: Chart for WPF - How to Create Custom Series Point Markers

The following image shows line and bar series points:

This document consists of the following sections:

Add a Point to a Series

You can define a point’s argument and its associated values to add points to the series points collection.

xaml
<dxc:LineSeries2D DisplayName="Line Series">
    <dxc:SeriesPoint Argument="A"
                     Value="5"/>
    <!-- Other series points. -->
</dxc:LineSeries2D>

The following table contains classes and properties that allow you to populate the Series.Points collection manually:

Class or PropertyDescription
Series.PointsThe series points’ collection. This is a content property. You can declare points in XAML directly after a series declaration without wrapping them in opening and closing Series.Points tags.
SeriesPointThe series point.
SeriesPoint.ArgumentThe point’s argument.
SeriesPoint.ValueThe point’s value.

Note that a series point in a particular series type may require unique parameters, for instance, a Line series point requires an Argument and Value while a Bubble series point also requires a Weight parameter.

xaml
<dxc:BubbleSeries2D DisplayName="Planet Mass">
    <dxc:SeriesPoint Argument="Mercury"
                     Value="58" 
                     dxc:BubbleSeries2D.Weight="0.06"/>
    <!-- Other series points. -->
</dxc:BubbleSeries2D>

The following table lists series that have specific Value parameters:

|

Series

|

Parameters

| | --- | --- | |

Bubble

|

SeriesPoint.Argument

SeriesPoint.Value

BubbleSeries2D.Weight

| |

Stock

Candle Stick

|

SeriesPoint.Argument

FinancialSeries2D.CloseValue

FinancialSeries2D.HighValue

FinancialSeries2D.LowValue

FinancialSeries2D.OpenValue

| |

Side-by-Side Range Bar

Overlapped Range Bar

|

SeriesPoint.Argument

SeriesPoint.Value

RangeBarSeries2D.Value2

| |

Range Area

|

SeriesPoint.Argument

SeriesPoint.Value

RangeAreaSeries2D.Value2

| |

Range Polar Area

|

SeriesPoint.Argument

SeriesPoint.Value

PolarRangeAreaSeries2D.Value2

| |

Range Radar Area

|

SeriesPoint.Argument

SeriesPoint.Value

RadarRangeAreaSeries2D.Value2

|

The Chart control displays points with undefined Value parameter as breaks in Line or Area series, and missing points or bars in other series types.

You can automatically populate chart with data by binding a Chart control to a data source. Refer to the Bind a Series to a Data Source document for more details.

Modify Point Representation

You can perform the following actions to configure chart points’ appearance and behavior:

See Also

Series Point Labels

Chart Themes and Palettes

How to: Change Point Colors

How to: Provide a Custom Template for Series Labels

How to: Assign Different Models for Series and Point Markers

How to: Display Custom Tooltips for Series Points