This is a migrated thread and some comments may be shown as answers.

Text as label on chart

1 Answer 57 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 01 Oct 2009, 08:02 PM
I would like to have a doughnut chart created that has the text label on the chart rather than the number representing how large the piece is.

For example on your first look page of the chart...


I would like to see BMW and Audi on the chart itself instead of the number.  

1 Answer, 1 is accepted

Sort by
0
Michael
Top achievements
Rank 1
answered on 01 Oct 2009, 08:55 PM
I found a way to accomplish this... Replacing the DefaultLabelFormat of the series seemed to do the trick...

        //doughnutSeries.Definition.DefaultLabelFormat = "#%{p0}";
        doughnutSeries.Definition.DefaultLabelFormat = "#LEGENDLABEL{0}";

Here is a link with other options...

Tags
Chart
Asked by
Michael
Top achievements
Rank 1
Answers by
Michael
Top achievements
Rank 1
Share this question
or