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

[Solved] BarChart and Textblock Alignment issues.

1 Answer 97 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.
Manishkumar
Top achievements
Rank 1
Manishkumar asked on 10 Jan 2011, 03:02 PM
Hi,

I have placed few annotation base textblocks above Stackcharts as shown in the attachment. But the issue is all textbloxks are aligned properly except the first textblock and last textblock. First textblock starts from the middle of the first stackbar and last textblock ends in the middle of last stackbar. I want to align first and last textblocks also above the bars. Please help. Please provide the code snippet if any.

I want to maintain Radchartarea.Layout mode = Between only.

Thanks for your Help in advance,
Manish

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 13 Jan 2011, 12:31 PM
Hi Manishkumar,

Why don't you use the Default SeriesItemLabels as they are designed to have precise alignment according to the Series Definition? You can easily show the Labels by turning on the SeriesItemLabels property in XAML like this:
<telerikCharting:SeriesMapping.SeriesDefinition>
               <telerikCharting:BarSeriesDefinition ShowItemLabels="True"/>
</telerikCharting:SeriesMapping.SeriesDefinition>

I hope this helps.

Kind regards,
Evgenia
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
Chart
Asked by
Manishkumar
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or