Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
Adobe Flex SDK 4.1 (Release)
-
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");