problem aligning pie charts

2 posts, 0 answers
  1. Gibran
    Gibran avatar
    5 posts
    Member since:
    Feb 2015

    Posted 12 Aug 2015 Link to this post


    Please see the attached screen shot. It shows 2 ChartView in which the pies are not aligned. The reason is that the text in the legends on the right are not the same width. Therefore the purple pie chart gets pushed over more to the left than the red one. The goal is to get them aligned.

    One solution that was offered to me was to set the legend position to "bottom", but this isn't feasible to us since we want to minimize the height of the splitpanel as much as possible and adding the legend to the bottom will only increase the height.

    What I'd really like is to have a way of setting the absolute position of the pie charts. I'm wondering if this is possible. Is it? Is there another solution?

  2. Dess
    Dess avatar
    1561 posts

    Posted 13 Aug 2015 Link to this post

    Hello Gibran,

    Thank you for writing.

    Your question has already been answered in the other thread you have opened on the same topic. However, I am posting the reply here as well in order the community to benefit from it. RadChartView internally arranges the ChartLegendElement and ChartWrapper. It is not possible to specify an absolute position of the ChartWrapper. You can control only the legend position by setting the ChartElement.LegendPosition property.

    I hope this information helps. Should you have further questions I would be glad to help.
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top