Results 1 to 2 of 2

Thread: Size of pie chart not taking into callout labels

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Feb 2009
    London, UK

    Default Size of pie chart not taking into callout labels

    I'm rendering a pie series chart into one of my panels. Every slice has a callout label. The callout labels at top and bottom aren't rendered; they're chopped off. To get them to show, I have to explicitly set an insetPadding of 30 (default is 10).

    I conclude that you aren't taking into account the space needed for callout labels when computing the overall width and height of the chart. Correct? Maybe this should be done. BTW: my labels at right and left aren't chopped because I've got the available space on screen (testing in Chrome).

  2. #2
    Sencha Premium Member
    Join Date
    Apr 2012

    Default setting the radius

    I had to change the radius inside touch-chart.js
    //r.radius = Math.min(d - G.x, c - G.y);
    r.radius = 315;

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts