BarChart and Textblock Alignment issues.

2 posts, 0 answers
  1. Manishkumar
    Manishkumar avatar
    240 posts
    Member since:
    Feb 2009

    Posted 10 Jan 2011 Link to this post

    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
  2. Evgenia
    Admin
    Evgenia avatar
    1437 posts

    Posted 13 Jan 2011 Link to this post

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