wpf-6340-controls-and-libraries-charts-suite-chart-control-series-series-points.md
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:
You can define a point’s argument and its associated values to add points to the series points collection.
<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 Property | Description |
|---|---|
| Series.Points | The 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. |
| SeriesPoint | The series point. |
| SeriesPoint.Argument | The point’s argument. |
| SeriesPoint.Value | The 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.
<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
| | --- | --- | |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
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.
You can perform the following actions to configure chart points’ appearance and behavior:
See Also
How to: Provide a Custom Template for Series Labels
How to: Assign Different Models for Series and Point Markers