Square with values on top of chart

11 posts, 0 answers
  1. Ravi
    Ravi avatar
    104 posts
    Member since:
    Oct 2012

    Posted 12 Jan 2012 Link to this post

    Hi,

    I am using Telerik 2011.1.419.1040 version. I am currently enhancing few of the charts.

    I have attached a screenshot of what i am trying to acheive. Basically i need a square with a % value in in the box on top of each graph. please help me with a sample project and some sites if available.

    Thanks,
  2. Rahul
    Rahul avatar
    116 posts
    Member since:
    Feb 2011

    Posted 12 Jan 2012 Link to this post

    Hi David,

               You can refer the following link to achieve desired result.
    http://www.telerik.com/help/silverlight/radchart-styling-and-appearance-styling-item-labels.html

    Regards
    Rahul
  3. DevCraft banner
  4. Ravi
    Ravi avatar
    104 posts
    Member since:
    Oct 2012

    Posted 13 Jan 2012 Link to this post

    Hi Rahul,

    Thanks for your reply.

    I would like to keep the EXISTING values on top of each BAR CHART along with the solution you proposed. So finally there will be for a pair of blue and pink bar chart there will be 3 labels. one for blue, one for pink and another one (proposed by you) which has a different value.

    Thanks,
  5. Rahul
    Rahul avatar
    116 posts
    Member since:
    Feb 2011

    Posted 13 Jan 2012 Link to this post

    Hi David,

               Ohh i didn't get your point initially.
    Now got your point i'll try to come up with
    some solution.

    Regards
    Rahul
  6. Ravi
    Ravi avatar
    104 posts
    Member since:
    Oct 2012

    Posted 15 Jan 2012 Link to this post

    Hi Rahul,

    Can you please update me on this.

    Please consider this as a top priority and provide me a solution ASAP.

    Thanks,
  7. Ravi
    Ravi avatar
    104 posts
    Member since:
    Oct 2012

    Posted 16 Jan 2012 Link to this post

    Can anyone suggest a solution please, Solution has been delayed for more than 3 days now. I will not be able to wait more than this.

    Thanks,
  8. Rahul
    Rahul avatar
    116 posts
    Member since:
    Feb 2011

    Posted 16 Jan 2012 Link to this post

    Hi David,

                Really sorry buddy. I'm not able to find any workaround
    for your issue.

    Regards
    Rahul
  9. Ravi
    Ravi avatar
    104 posts
    Member since:
    Oct 2012

    Posted 16 Jan 2012 Link to this post

    So please suggest me some other solution.

    Or please work with your team and let me know if you can find one today if possible.

    Thanks,
  10. Rahul
    Rahul avatar
    116 posts
    Member since:
    Feb 2011

    Posted 16 Jan 2012 Link to this post

    Hi David,

                 I can understand your concern. I'm having
    deadline for my task today But i want to give you one idea.

    Your chart having two series mappings right. Hide the series item
    label for the second series. and somehow try to tally both
    series item labels for the first series. and try to apply series
    item label style which i given you in my second post.

    Hope it will help you.

    Thanks & Regards
    Rahul
  11. Ravi
    Ravi avatar
    104 posts
    Member since:
    Oct 2012

    Posted 16 Jan 2012 Link to this post

    Hi Rahul,

    Thanks for your suggestion. However that will not work in my case. As the client is very specific on the series Item label. They are looking for label on top of both the series.

    Thanks,
  12. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 17 Jan 2012 Link to this post

    Hello David,

    Currently you can't provide more than one Label per Series Item. However there is a workaround for your scenario:
    You can create third serie , for example a Line Serie. Make it's Stroke Transparent cause all we'll need is the Labels of the DataPoints. You'll also need to set the Fill and Stroke of the PointMark to be transparent.
    To be able to show percentages as Items Labels you may use the following format expression:
    ItemLabelFormat="#Y%"

    You may find a sample project attached that demonstrates what I mean.

    All the best,
    Evgenia
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top
DevCraft banner