Skip to content
Permalink
Browse files
fix layout so it's more like other examples
  • Loading branch information
justinmclean committed Oct 18, 2014
1 parent 6fd6988 commit 57cf097b3066b393ae19a59f75397fb8b03caf3d
Showing 6 changed files with 17 additions and 36 deletions.
@@ -56,8 +56,7 @@
yField="Expenses"
radiusField="Amount"
fill="{sc1}"
stroke="{stroke1}"
/>
stroke="{stroke1}" />
</mx:series>
</mx:BubbleChart>
<mx:Legend dataProvider="{bubblechart}"/>
@@ -61,8 +61,7 @@
paddingRight="5"
paddingLeft="5"
showDataTips="true"
dataProvider="{expensesAC}"
>
dataProvider="{expensesAC}">
<mx:verticalAxis>
<mx:LinearAxis id="vaxis" baseAtZero="false" title="Price"/>
</mx:verticalAxis>
@@ -84,8 +83,7 @@
fill="{up}"
declineFill="{down}"
stroke="{wick}"
boxStroke="{box}"
/>
boxStroke="{box}" />
</mx:series>
</mx:CandlestickChart>
</mx:Panel>
@@ -54,8 +54,7 @@
paddingLeft="5"
paddingRight="5"
showDataTips="true"
dataProvider="{medalsAC}"
>
dataProvider="{medalsAC}">
<mx:horizontalAxis>
<mx:CategoryAxis categoryField="Country"/>
</mx:horizontalAxis>
@@ -66,22 +65,19 @@
yField="Gold"
displayName="Gold"
fill="{sc1}"
stroke="{s1}"
/>
stroke="{s1}" />
<mx:ColumnSeries
xField="Country"
yField="Silver"
displayName="Silver"
fill="{sc2}"
stroke="{s2}"
/>
stroke="{s2}" />
<mx:ColumnSeries
xField="Country"
yField="Bronze"
displayName="Bronze"
fill="{sc3}"
stroke="{s3}"
/>
stroke="{s3}" />
</mx:series>
</mx:ColumnChart>

@@ -101,22 +97,19 @@
xField="Gold"
displayName="Gold"
fill="{sc1}"
stroke="{s1}"
/>
stroke="{s1}" />
<mx:BarSeries
yField="Country"
xField="Silver"
displayName="Silver"
fill="{sc2}"
stroke="{s2}"
/>
stroke="{s2}" />
<mx:BarSeries
yField="Country"
xField="Bronze"
displayName="Bronze"
fill="{sc3}"
stroke="{s3}"
/>
stroke="{s3}" />
</mx:series>
</mx:BarChart>

@@ -74,8 +74,7 @@
openTickStroke="{s1}"
closeTickStroke="{s1}"
openTickLength="7"
closeTickLength="7"
/>
closeTickLength="7" />
</mx:series>
</mx:HLOCChart>
</mx:Panel>
@@ -63,10 +63,7 @@
paddingRight="5"
paddingLeft="5"
showDataTips="true"
dataProvider="{medalsAC}"
>
<!--
-->
dataProvider="{medalsAC}">
<mx:series>
<mx:PieSeries
nameField="Country"
@@ -76,8 +73,7 @@
calloutStroke="{callouts}"
radialStroke="{radial}"
stroke="{pieborder}"
fills="{[sc1, sc2, sc3]}"
>
fills="{[sc1, sc2, sc3]}">
<!-- Clear the drop shadow filters from the chart. -->
<mx:filters>
<fx:Array/>
@@ -54,30 +54,26 @@
paddingLeft="5"
paddingRight="5"
showDataTips="true"
dataProvider="{expensesAC}"
>
dataProvider="{expensesAC}">
<mx:series>
<mx:PlotSeries
xField="Expenses"
yField="Profit"
displayName="Plot 1"
fill="{sc1}"
stroke="{s1}"
/>
stroke="{s1}" />
<mx:PlotSeries
xField="Amount"
yField="Expenses"
displayName="Plot 2"
fill="{sc2}"
stroke="{s2}"
/>
stroke="{s2}" />
<mx:PlotSeries
xField="Profit"
yField="Amount"
displayName="Plot 3"
fill="{sc3}"
stroke="{s3}"
/>
stroke="{s3}" />
</mx:series>
</mx:PlotChart>
<mx:Legend dataProvider="{plot}"/>

0 comments on commit 57cf097

Please sign in to comment.