uniform pie chart size

3 posts, 1 answers
  1. Innis
    Innis avatar
    2 posts
    Member since:
    Oct 2017

    Posted 30 Nov 2017 Link to this post

    I have a set of pie charts in a report. The size of the pie charts ends up being different based on the label sizes. a larger label will generate a smaller chart. a smaller label will generate a larger chart. How can I make the size of the charts uniform regardless of label size. 

    I have tried to set the padding under the chart Style as well as the padding under the chart PlotAreaStyle. Setting the padding on the chart Style did decrease the size of the charts but it decreased them all by the same amount and they are still different sizes. 

     

  2. Answer
    Ivan Hristov
    Admin
    Ivan Hristov avatar
    144 posts

    Posted 05 Dec 2017 Link to this post

    Hi Innis,

    The pie chart's available size depends on the size of the labels and changes dynamically, but the "pie" radius can be controlled through the Size property of the RadialAxis in graph's coordinate system. The property should be set to a string that represents a valid Unit, i.e. "5cm" or "100px", etc.

    Please note that if the graph size is not large enough to accommodate the pie chart and its labels, the labels might be cut off.

    Regards,
    Ivan Hristov
    Progress Telerik
    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. Innis
    Innis avatar
    2 posts
    Member since:
    Oct 2017

    Posted 06 Dec 2017 in reply to Ivan Hristov Link to this post

    That solved my problem. Thank you for your help. 

     

Back to Top