Use images in CategoricalDataPoint

Thread is closed for posting
2 posts, 0 answers
  1. Jonathan
    Jonathan avatar
    23 posts
    Member since:
    Feb 2013

    Posted 30 Apr 2013 Link to this post

    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.


  2. Victor
    Victor avatar
    1358 posts

    Posted 07 May 2013 Link to this post

    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,
    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.
Back to Top