Bug Report T621507
Visible to All Users

PieChart - Label text is cut off

created 7 years ago

Hi,

Using a very simple chart with only one point, we customize the labels to show both point name and percent.
When resizing to a smaller size the label is cropped though the chart has enough space to show.

Please look at the below example and I've attached a screenshot which shows two cases.

JavaScript
$("#test").dxPieChart({ "size": { "height": 361, "width": 219 }, "legend" : {visible:false}, "series": [ { "argumentField": "pointName", "valueField": "Default", "label": { "visible": true, "position": "inside", "customizeText": function(arg) { return arg.argument + " " + arg.percentText; } } } ], "dataSource": [ { "pointName": "פוליסות עם ריידר", "Default": 23 } ], });
Comments (3)
DevExpress Support Team 7 years ago

    Hello Daniel,

    I do not know Hebrew, and so am not sure what is wrong with dxPieChart. Would you please point me on the issue with this online example? In addition, specify which behavior you expect.

    DT DT
    Daniel Taiber 1 7 years ago

      Hi,

      I've edited the fiddle to be in english.
      You can see that the label is trimmed, meaning part of it is outside the screen.
      Why isn't it centered?

      DevExpress Support Team 7 years ago

        Thank you for the updated example, Daniel. I have discussed this issue with our R&T team and we found this behavior incorrect. So, we are going to fix it. Once we do this, you will receive an automotive message and be able to download a hot fix.

        Answers approved by DevExpress Support

        created 7 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.