Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-27079

Overlaping labels because of mx.charts.AxisRender bug in calcVerticalSpacing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 4.1 (Release)
    • None
    • Effects
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      method calcVerticalSpacing in mx.charts.AxisRender contains redundant "break;" instruction which prevent call of "reduceLabels" if last and previous labels have enought space. Method stops searching for other overlapping labels at this point.

      // If we're going vertical, we assume they are all
      // the same height, and just count until we get
      // an initial skip count.
      break;
      skipCount = 0;
      prevLabel = thisLabel;

      Lines:
      skipCount = 0;
      prevLabel = thisLabel;

      Are going to be used for searching next group of overlapping items. So "break;" should be removed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: