Pie chart with 2 labels

Thread is closed for posting
4 posts, 0 answers
  1. Philip Senechal
    Philip Senechal avatar
    152 posts
    Member since:
    Apr 2008

    Posted 19 Dec 2008 Link to this post

    I can't seem to figure out if this is possible. Instead of creating a complex label where I'm slapping values and text together, I'd actually like two labels. I would like one label inside each pie slice that has the value of the slice. I'd like another label outside the slice using the label connector that describes the what the slice represents (type).

    Is it possible to create two labels in this manner? If so, how would I go about doing it? Thanks.
  2. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 20 Dec 2008 Link to this post

    Hello Philip,

    I am afraid RadChart does not support multiple labels. A possible workaround is to place the labels inside the pie and show only the values, while the detailed information is set to ChartSeriesItem.Name. This way it will appear in the legend.
    Here is how to place the labels inside the pie:

    <telerik:ChartSeries Name="Series 1" Type="Pie"
        <Appearance> 
            <LabelAppearance LabelLocation="Inside"
            </LabelAppearance> 
        </Appearance> 


    Greetings,
    Ves
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Philip Senechal
    Philip Senechal avatar
    152 posts
    Member since:
    Apr 2008

    Posted 22 Dec 2008 Link to this post

    Thank you for the quick response.

    Can I submit a suggestion to add the capability of two labels on pie charts? Or perhaps allow for the X-axis labels to be used in this manner on pie charts? The two enterprise reporting tools we use (Web Focus and Cognos) allow for this type of charting and it's very useful.
  4. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 23 Dec 2008 Link to this post

    Hi Philip,

    Thanks, I have logged this suggestion. However we cannot provide any time frame for its implementation. Your Telerik points have been updated.

    Best regards,
    Ves
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top