Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Later
-
Adobe Flex SDK 3.0 (Release)
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows
Language Found: English
Description
Steps to reproduce:
1. Run the attached sample code "LogAxisTest.mxml"
2. Enter 0.1 into the now maximum dat field and hit enter
3. LogAxis maximum is displayed as "1" (please see cap049.png)
4. Enter 0.00001 into the now maximum dat field and hit enter
5. LogAxis maximum is displayed as "0.00001" (please see cap050.png)
Actual Results:
Step #3 and Step #5
Expected Results:
Step #3 should be displayed as "0.1" instead of "1"
Workaround (if any):
Set maximum value like sample below.
For example, if max value is 0.1, set it as 0.011, etc.
package
{
import mx.charts.LogAxis;
public class LogAxisEx extends LogAxis
{
private var my_maximum:Number;
override public function get maximum():Number
{ return my_maximum; } override public function set maximum(value:Number):void
{
my_maximum = value;
if(value >= 1)
else{
var tmp:Number = value;
switch(value)
super.maximum = tmp;
}
}
}
}