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

Pie chart with 2 labels

3 Answers 83 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Philip Senechal
Top achievements
Rank 1
Philip Senechal asked on 20 Dec 2008, 12:12 AM
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.

3 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 20 Dec 2008, 11:47 AM
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.
0
Philip Senechal
Top achievements
Rank 1
answered on 22 Dec 2008, 05:47 PM
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.
0
Ves
Telerik team
answered on 23 Dec 2008, 08:13 AM
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.
Tags
Chart (Obsolete)
Asked by
Philip Senechal
Top achievements
Rank 1
Answers by
Ves
Telerik team
Philip Senechal
Top achievements
Rank 1
Share this question
or