Results 1 to 2 of 2

Thread: [6.5.1 classic] Layout loop on charts using bottom/top legend on too narrow canvas

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jan 2016

    Default [6.5.1 classic] Layout loop on charts using bottom/top legend on too narrow canvas

    If a chart is too narrow to fit one legend entry, and the legend is positioned above/below (docked top/bottom), then Ext.chart.legend.SpriteLegend.performLayout() will enter an infinite loop.

    The following fiddle adds an override that prevents layout from running when that will happen -- it aborts execution instead of looping. If you comment the lines that abort execution, then the endless loop will happen. More instructions and tips on reproducing the issue (without closing the whole browser) within the fiddle:
    - Long chart legend Infinite loop.

    It does not matter whether the chart is pie, column sprite or the ordinary, non-sprite, legend. The performLayout() from Ext.chart.legend.SpriteLegend is called.

    Adjusting the chart width to the amount informed in the crafted Ext.Error() message avoids the issue.

  2. #2
    Sencha Premium User
    Join Date
    Nov 2010


    This bug was reported more than one year ago. And there is no reply.
    Does that framework is no longer supported?

Similar Threads

  1. Replies: 1
    Last Post: 2 Jun 2014, 10:03 AM
  2. Replies: 0
    Last Post: 3 Jul 2012, 8:02 PM
  3. Replies: 16
    Last Post: 16 Feb 2012, 4:35 PM
  4. Adding Canvas Implementation for Ext4 Charts
    By yakovsh in forum Ext: Discussion
    Replies: 0
    Last Post: 11 Aug 2011, 6:45 AM

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