Text as label on chart

2 posts, 0 answers
  1. Michael
    Michael avatar
    3 posts
    Member since:
    Nov 2008

    Posted 01 Oct 2009 Link to this post

    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.  
  2. Michael
    Michael avatar
    3 posts
    Member since:
    Nov 2008

    Posted 01 Oct 2009 Link to this post

    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...

Back to Top