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

Use images in CategoricalDataPoint

1 Answer 30 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jonathan
Top achievements
Rank 1
Jonathan asked on 01 May 2013, 01:08 AM
Is it possible to have images instead of labels to represent horizontal categories?

Here's what I currently have:
<chartEngine:CategoricalDataPoint x:Name="PosDataPointChart" Category="Pos"  Value="30.0"/>

what I would like instead is to replace the word "Pos" with a star image.

thanks,

Jon

1 Answer, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 07 May 2013, 07:23 AM
Hi Jonathan,

You can use a label template or a label template selector. The label template selector will allow you to specify a concrete DataTemplate for each category in your chart. The LabelTemplate and LabelTemplateSelector properties are members of the axis. In your case if you are using a CategoricalAxis it will have those properties. Please write again if you need further assistance.

Kind regards,
Victor
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
Chart
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Victor
Telerik team
Share this question
or