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

Square with values on top of chart

10 Answers 94 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Ravi
Top achievements
Rank 1
Ravi asked on 12 Jan 2012, 03:58 PM
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,

10 Answers, 1 is accepted

Sort by
0
Rahul
Top achievements
Rank 2
answered on 12 Jan 2012, 04:17 PM
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
0
Ravi
Top achievements
Rank 1
answered on 13 Jan 2012, 12:38 PM
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,
0
Rahul
Top achievements
Rank 2
answered on 13 Jan 2012, 01:01 PM
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
0
Ravi
Top achievements
Rank 1
answered on 16 Jan 2012, 03:38 AM
Hi Rahul,

Can you please update me on this.

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

Thanks,
0
Ravi
Top achievements
Rank 1
answered on 16 Jan 2012, 02:34 PM
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,
0
Rahul
Top achievements
Rank 2
answered on 16 Jan 2012, 02:41 PM
Hi David,

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

Regards
Rahul
0
Ravi
Top achievements
Rank 1
answered on 16 Jan 2012, 03:30 PM
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,
0
Rahul
Top achievements
Rank 2
answered on 16 Jan 2012, 04:45 PM
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
0
Ravi
Top achievements
Rank 1
answered on 16 Jan 2012, 07:15 PM
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,
0
Evgenia
Telerik team
answered on 17 Jan 2012, 10:36 AM
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 >>
Tags
Chart
Asked by
Ravi
Top achievements
Rank 1
Answers by
Rahul
Top achievements
Rank 2
Ravi
Top achievements
Rank 1
Evgenia
Telerik team
Share this question
or