Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2165
XamDoughnut, XamPiechart chart label cut
posted

Hi Team,

I am using the XamDoughnut chart control and in the ring series, for the LabelsPosition I use BestFit option.

In the attached image You can see how it is the behaviour of the labels, sometimes it isn't visible the hole label, if it is outside, it is truncated. What I noticed with SNOOP, that the slice path Width and Height is much more bigger and covers the label.

This issue it can be reproduce also on the XamPieChartControl

Somehow can we resolve this problem, to see every time the entire label text?

Parents
  • 34510
    Offline posted

    Hello dvsegmbh,

    The issue is that the XamDoughnutChart doesn't have enough space around it to fit the labels.  This is the expected behavior.  Try adjusting the RingSeries.RadiusFactor property.  You can use this to shrink down the size of the ring, giving more space between the ring and the control boundaries.  It might also be a good idea to provide a MinWidth and MinHeight to the chart so that it is not allowed to get too small.

Reply Children