Skip to main content

Series

A Series represents a group of related data points plotted onto a chart control’s area.

Series

A series also allows you to access and customize the visual elements of data points, including data point labels and data point markers.

See the example below.

<Charts:PieChart>
    <Charts:PieChart.Series>
        <Charts:Series DisplayName="GDP">
            <Charts:Series.Data>
                <Charts:DataPointCollection>
                    <Charts:DataPoint Argument="New England" Value="0.917171" />
                    <Charts:DataPoint Argument="Mideast" Value="3.135850" />
                    <Charts:DataPoint Argument="Great Lakes" Value="2.395707" />
                    <Charts:DataPoint Argument="Plains" Value="1.135432" />
                    <Charts:DataPoint Argument="Southeast" Value="3.666005" />
                    <Charts:DataPoint Argument="Southwest" Value="2.168498" />
                    <Charts:DataPoint Argument="Rocky Mountain" Value="0.594843" />
                    <Charts:DataPoint Argument="Far West" Value="3.219634" />
                </Charts:DataPointCollection>
            </Charts:Series.Data>
        </Charts:Series>
        <Charts:Series
                    DisplayName="GDP Per Capita">
            <Charts:Series.Data>
                <Charts:DataPointCollection>
                    <Charts:DataPoint Argument="New England" Value="58.071" />
                    <Charts:DataPoint Argument="Mideast" Value="58.649" />
                    <Charts:DataPoint Argument="Great Lakes" Value="46.806" />
                    <Charts:DataPoint Argument="Plains" Value="48.609" />
                    <Charts:DataPoint Argument="Southeast" Value="41.362" />
                    <Charts:DataPoint Argument="Southwest" Value="49.824" />
                    <Charts:DataPoint Argument="Rocky Mountain" Value="46.972" />
                    <Charts:DataPoint Argument="Far West" Value="53.756" />
                </Charts:DataPointCollection>
            </Charts:Series.Data>
        </Charts:Series>
    </Charts:PieChart.Series>
</Charts:PieChart>