Skip to main content
A newer version of this page is available. .

Series Title

You can add an individual title for Pie or Donut series views.

SeriesTitle

Initialize the PieSeriesView.Title property with an SeriesTitle object and specify its Content to add a title for the series:

<Charts:PieChart ...>
    <Charts:PieChart.Series>
        <Charts:Series>
            <Charts:Series.View>
                <Charts:PieSeriesView>
                    <Charts:PieSeriesView.Title>
                        <Charts:SeriesTitle Content="2001" Margin="10"/>
                    </Charts:PieSeriesView.Title>
                    ...
                </Charts:PieSeriesView>
            </Charts:Series.View>
        </Charts:Series>
    </Charts:PieChart.Series>
</Charts:PieChart>