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

LogAxis.minmum gives wrong value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 3.0 (Release)
    • Adobe Flex SDK Previous
    • Charts
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows
      Language Found: English

    Description

      Steps to reproduce:
      1. Run the attached sample code "LogAxisTest02.mxml"
      2. Enter 100000 into the now minimum dat field and hit enter
      3. LogAxis minimum is displayed as "100000" (please see cap052.png)
      4. Enter 1000000 into the now minimum dat field and hit enter
      5. LogAxis minimum is displayed as "100000" (please see cap053.png)

      Actual Results:
      Step #3 and Step #5

      Expected Results:
      Step #5 should be displayed as "1000000" instead of "100000"

      Workaround (if any):
      Override the function as below:
      ***********
      override public function set minimum(value:Number):void
      {
      if(value == 0)

      { assignedMinimum = NaN; }

      else

      { assignedMinimum = Math.floor(Math.log(value) * Math.LOG10E); }

      computedMinimum = assignedMinimum;

      invalidateCache();

      dispatchEvent(new Event("mappingChange"));
      dispatchEvent(new Event("axisChange"));
      }

      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: