flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (FLEX-31849) ColumnSet with type="overlaid" uses incorrect column width (uses same width as "clustered", should be same as "stacked")
Date Fri, 30 Aug 2013 23:17:52 GMT

     [ https://issues.apache.org/jira/browse/FLEX-31849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Justin Mclean reopened FLEX-31849:

      Assignee:     (was: Adobe JIRA)

Not sure why the bug was closed - reopening it.
> ColumnSet with type="overlaid" uses incorrect column width (uses same width as "clustered",
should be same as "stacked")
> ------------------------------------------------------------------------------------------------------------------------
>                 Key: FLEX-31849
>                 URL: https://issues.apache.org/jira/browse/FLEX-31849
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Charts:Data Graphics
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Affected OS(s): Windows
> Affected OS(s): Windows XP
> Language Found: English
>            Reporter: Adobe JIRA
>            Priority: Minor
>             Fix For: Adobe Flex SDK Previous
> Steps to reproduce: (see example application below)
> 1. Create a ColumnChart with type="clustered".
> 2. Add a ColumnSet with type="overlaid".
> 3. Add a some ColumnSeries to the ColumnSet, and some data.
> Actual Results:
> The columns end up having a width that is too narrow.  Specifically, the colum widths
end up the same as if the columns were all being rendered side-by-side (eg "clustered").
> Expected Results:
> The columns should be wider.  If you set the ColumnSet type to "stacked", then the correct
"wider" width is used.  In "overlaid" mode, the ColumnSet should use the same column width
as it currently uses in "stacked" mode.  This would make it consistent with the behaviour
that occurs in ColumnCharts with no ColumnSet grouping.
> Workaround (if any): none. 
> Here's a quick test application that demonstrates the problem:
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
>   <mx:ComboBox id="columnSetType" selectedIndex="1">
>     <mx:dataProvider>
>       <mx:Array>
>         <mx:String>clustered</mx:String>
>         <mx:String>overlaid</mx:String>
>         <mx:String>stacked</mx:String>
>       </mx:Array>
>     </mx:dataProvider>
>   </mx:ComboBox>
>   <mx:ColumnChart type="clustered" columnWidthRatio="1" showDataTips="true">
>     <mx:series>
>       <mx:ColumnSet type="{columnSetType.selectedItem}" columnWidthRatio="1">
>         <mx:series>
>           <mx:ColumnSeries xField="x" yField="y1" columnWidthRatio="1"/>
>           <mx:ColumnSeries xField="x" yField="y2" columnWidthRatio="1"/>
>           <mx:ColumnSeries xField="x" yField="y3" columnWidthRatio="1"/>
>         </mx:series>
>       </mx:ColumnSet>
>     </mx:series>
>     <mx:dataProvider>
>       <mx:Array>
>         <mx:Object x="1" y1="9" y2="8" y3="7"/>
>         <mx:Object x="2" y1="6" y2="5" y3="4"/>
>         <mx:Object x="3" y1="3" y2="2" y3="1"/>
>       </mx:Array>
>     </mx:dataProvider>
>     <mx:horizontalAxis>
>       <mx:LinearAxis interval="1" minimum="0" maximum="4"/>
>     </mx:horizontalAxis>
>     <mx:verticalAxis>
>       <mx:LinearAxis interval="1" minimum="0" maximum="10"/>
>     </mx:verticalAxis>
>   </mx:ColumnChart>
> </mx:Application>
> As you switch through the ColumnSet types, the columns should always be hard pressed
against each other (since all columnWidthRatios are set to "1".  But clearly they are not
with the type is set to "overlaid".

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message