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

[Mirroring] Chart Graphics X-Axis flipped negative in some cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • Adobe Flex SDK 4.1 (Release)
    • Adobe Flex SDK Previous
    • Mirroring
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile and run the attached MXML file with Flex SDK 4.1
      2. Click the "Make Widget" Button to create a BarChart instance
      3. Click the "Add Widget" Button to add it to the screen

      Notes:
      If the methods are combined the issue seems to be resolved. It is only when there is a pause between creation and adding the chart to the screen that the issue appears. This effects ALL charts, including PieChart which isn't a CartesianChart.

      Actual Results:
      Chart graphics are all flipped negative in the x direction and drawn outside the bounds of the chart. Datatips and mouse events still function correctly in the EXPECTED place, not where the drawing appears.

      Expected Results:
      Bars and background tick marks should be drawn to the right along the axis and within the bounds of the widget.

      Workaround (if any):
      (a) Set the "direction" and "layoutDirection" styles on the BarChart to "ltr":

      protected function makeWidget():void{
      widget = new BarChart();
      widget.showDataTips = true;
      widget.percentHeight = 100;
      widget.percentWidth = 100;
      widget.setStyle("direction", "ltr");
      widget.setStyle("layoutDirection", "ltr");

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: