Skip to content
Permalink
Browse files
FLEX-34485 make examples consistent
  • Loading branch information
justinmclean committed Oct 18, 2014
1 parent e11842b commit 186a01bec095f3b23abf9af18daf40b0481edb73
Showing 165 changed files with 1,978 additions and 2,852 deletions.
@@ -19,8 +19,7 @@
-->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
skinClass="TDFGradientBackgroundSkin">
xmlns:mx="library://ns.adobe.com/flex/mx">

<fx:Script>
<![CDATA[
@@ -37,13 +36,7 @@
]]>
</fx:Script>

<s:layout>
<s:HorizontalLayout verticalAlign="middle" horizontalAlign="center" />
</s:layout>

<s:Panel title="AreaChart Control" width="600" height="100%"
color="0x000000"
borderAlpha="0.15">
<s:Panel title="AreaChart Control" width="100%" height="100%">

<s:layout>
<s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="10" paddingBottom="10"/>
@@ -19,8 +19,7 @@
-->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
skinClass="TDFGradientBackgroundSkin">
xmlns:mx="library://ns.adobe.com/flex/mx">

<fx:Script>
<![CDATA[
@@ -34,14 +33,8 @@
{ Country: "Russia", Gold: 27, Silver:27, Bronze: 38 } ]);
]]>
</fx:Script>

<s:layout>
<s:HorizontalLayout verticalAlign="middle" horizontalAlign="center" />
</s:layout>

<s:Panel title="BarChart Control" width="600" height="100%"
color="0x000000"
borderAlpha="0.15">
<s:Panel title="BarChart Control" width="100%" height="100%">

<s:layout>
<s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="10" paddingBottom="10"/>
@@ -19,8 +19,7 @@
-->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
skinClass="TDFGradientBackgroundSkin">
xmlns:mx="library://ns.adobe.com/flex/mx">

<fx:Script>
<![CDATA[
@@ -43,18 +42,10 @@
mx|BubbleChart { color:#000099; }
</fx:Style>

<s:layout>
<s:HorizontalLayout verticalAlign="middle" horizontalAlign="center" />
</s:layout>

<s:Panel title="BubbleChart Control" width="600" height="100%"
color="0x000000"
borderAlpha="0.15">
<s:Panel title="BubbleChart Control" width="100%" height="100%">

<s:layout>
<s:HorizontalLayout horizontalAlign="center"
paddingLeft="10" paddingRight="10"
paddingTop="10" paddingBottom="10"/>
<s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="10" paddingBottom="10"/>
</s:layout>

<mx:BubbleChart id="bubblechart" height="100%" width="100%" paddingRight="5" paddingLeft="5" color="0x323232"
@@ -19,8 +19,7 @@
-->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
skinClass="TDFGradientBackgroundSkin">
xmlns:mx="library://ns.adobe.com/flex/mx">

<fx:Script>
<![CDATA[
@@ -42,18 +41,10 @@
]]>
</fx:Script>

<s:layout>
<s:HorizontalLayout verticalAlign="middle" horizontalAlign="center" />
</s:layout>

<s:Panel title="CandlestickChart Control" width="600" height="100%"
color="0x000000"
borderAlpha="0.15">
<s:Panel title="CandlestickChart Control" width="100%" height="100%">

<s:layout>
<s:HorizontalLayout horizontalAlign="center"
paddingLeft="10" paddingRight="10"
paddingTop="10" paddingBottom="10"/>
<s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="10" paddingBottom="10"/>
</s:layout>

<mx:CandlestickChart id="candlestickchart" height="100%" width="100%" paddingRight="5" paddingLeft="5"
@@ -19,8 +19,7 @@
-->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
skinClass="TDFGradientBackgroundSkin">
xmlns:mx="library://ns.adobe.com/flex/mx">

<fx:Script>
<![CDATA[
@@ -34,19 +33,11 @@
{ Country: "Russia", Gold: 27, Silver:27, Bronze: 38 } ]);
]]>
</fx:Script>

<s:layout>
<s:HorizontalLayout verticalAlign="middle" horizontalAlign="center" />
</s:layout>

<s:Panel title="ColumnChart Control" width="600" height="100%"
color="0x000000"
borderAlpha="0.15">

<s:Panel title="ColumnChart Control" width="100%" height="100%">

<s:layout>
<s:HorizontalLayout horizontalAlign="center"
paddingLeft="10" paddingRight="10"
paddingTop="10" paddingBottom="10"/>
<s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="10" paddingBottom="10"/>
</s:layout>

<mx:ColumnChart id="column" height="100%" color="0x323232"
@@ -19,8 +19,7 @@
-->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
skinClass="TDFGradientBackgroundSkin">
xmlns:mx="library://ns.adobe.com/flex/mx">

<fx:Script>
<![CDATA[
@@ -42,18 +41,10 @@
]]>
</fx:Script>

<s:layout>
<s:HorizontalLayout verticalAlign="middle" horizontalAlign="center" />
</s:layout>

<s:Panel title="HLOCChart Control" width="600" height="100%"
color="0x000000"
borderAlpha="0.15">
<s:Panel title="HLOCChart Control" width="100%" height="100%">

<s:layout>
<s:HorizontalLayout horizontalAlign="center"
paddingLeft="10" paddingRight="10"
paddingTop="10" paddingBottom="10"/>
<s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="10" paddingBottom="10"/>
</s:layout>

<mx:HLOCChart id="hlocchart" height="100%" width="100%" paddingRight="5" paddingLeft="5"
@@ -19,8 +19,7 @@
-->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
skinClass="TDFGradientBackgroundSkin">
xmlns:mx="library://ns.adobe.com/flex/mx">

<fx:Script>
<![CDATA[
@@ -37,18 +36,10 @@
]]>
</fx:Script>

<s:layout>
<s:HorizontalLayout verticalAlign="middle" horizontalAlign="center" />
</s:layout>

<s:Panel title="LineChart Control" width="600" height="100%"
color="0x000000"
borderAlpha="0.15">
<s:Panel title="LineChart Control" width="100%" height="100%">

<s:layout>
<s:HorizontalLayout horizontalAlign="center"
paddingLeft="10" paddingRight="10"
paddingTop="10" paddingBottom="10"/>
<s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="10" paddingBottom="10"/>
</s:layout>

<mx:LineChart id="linechart" color="0x323232" height="100%"
@@ -19,8 +19,7 @@
-->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
skinClass="TDFGradientBackgroundSkin">
xmlns:mx="library://ns.adobe.com/flex/mx">

<fx:Script>
<![CDATA[
@@ -40,18 +39,10 @@
]]>
</fx:Script>

<s:layout>
<s:HorizontalLayout verticalAlign="middle" horizontalAlign="center" />
</s:layout>

<s:Panel title="PieChart Control" width="600" height="100%"
color="0x000000"
borderAlpha="0.15">
<s:Panel title="PieChart Control" width="100%" height="100%">

<s:layout>
<s:HorizontalLayout horizontalAlign="center"
paddingLeft="10" paddingRight="10"
paddingTop="10" paddingBottom="10"/>
<s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="10" paddingBottom="10"/>
</s:layout>

<mx:PieChart id="chart" height="100%" width="100%" paddingRight="5" paddingLeft="5" color="0x323232"
@@ -19,8 +19,7 @@
-->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
skinClass="TDFGradientBackgroundSkin">
xmlns:mx="library://ns.adobe.com/flex/mx">

<fx:Script>
<![CDATA[
@@ -35,18 +34,10 @@
]]>
</fx:Script>

<s:layout>
<s:HorizontalLayout verticalAlign="middle" horizontalAlign="center" />
</s:layout>

<s:Panel title="PlotChart Control" width="600" height="100%"
color="0x000000"
borderAlpha="0.15">
<s:Panel title="PlotChart Control" width="100%" height="100%">

<s:layout>
<s:HorizontalLayout horizontalAlign="center"
paddingLeft="10" paddingRight="10"
paddingTop="10" paddingBottom="10"/>
<s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="10" paddingBottom="10"/>
</s:layout>

<mx:PlotChart id="plot" height="100%" paddingLeft="5" paddingRight="5" color="0x323232"
@@ -19,8 +19,7 @@
-->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
skinClass="TDFGradientBackgroundSkin">
xmlns:mx="library://ns.adobe.com/flex/mx">

<fx:Script>
<![CDATA[
@@ -56,22 +55,14 @@
]]>
</fx:Script>

<s:layout>
<s:HorizontalLayout verticalAlign="middle" horizontalAlign="center" />
</s:layout>

<fx:Declarations>
<mx:SeriesInterpolate id="interpolateIn" duration="1000"/>
</fx:Declarations>

<s:Panel title="Interpolate Effect" width="600" height="100%"
color="0x000000"
borderAlpha="0.15">
<s:Panel title="Interpolate Effect" width="100%" height="100%">

<s:layout>
<s:HorizontalLayout horizontalAlign="center"
paddingLeft="10" paddingRight="10"
paddingTop="10" paddingBottom="10"/>
<s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="10" paddingBottom="10"/>
</s:layout>

<mx:CandlestickChart id="candlestickchart" height="100%" paddingRight="5" paddingLeft="5" color="0x323232"
@@ -104,9 +95,9 @@
text="Choose a company to view recent stock data."/>

<s:RadioButton groupName="stocks" label="View Company A"
selected="true" click="candlestickchart.dataProvider=companyAAC;"/>
selected="true" click="candlestickchart.dataProvider=companyAAC"/>
<s:RadioButton groupName="stocks" label="View Company B"
click="candlestickchart.dataProvider=companyBAC;"/>
click="candlestickchart.dataProvider=companyBAC"/>
</s:BorderContainer>

</s:Panel>
@@ -19,8 +19,7 @@
-->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
skinClass="TDFGradientBackgroundSkin">
xmlns:mx="library://ns.adobe.com/flex/mx">

<fx:Script>
<![CDATA[
@@ -56,24 +55,16 @@
]]>
</fx:Script>

<s:layout>
<s:HorizontalLayout verticalAlign="middle" horizontalAlign="center" />
</s:layout>

<fx:Declarations>
<mx:SeriesSlide id="slideIn" duration="1000" direction="up"/>
<mx:SeriesSlide id="slideOut" duration="1000" direction="down"/>
</fx:Declarations>


<s:Panel title="Slide Effect" width="600" height="100%"
color="0x000000"
borderAlpha="0.15">
<s:Panel title="Slide Effect" width="100%" height="100%">

<s:layout>
<s:HorizontalLayout horizontalAlign="center"
paddingLeft="10" paddingRight="10"
paddingTop="10" paddingBottom="10"/>
<s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="10" paddingBottom="10"/>
</s:layout>

<mx:CandlestickChart id="candlestickchart" height="100%" paddingRight="5" paddingLeft="5" color="0x323232"
@@ -106,9 +97,9 @@
text="Choose a company to view recent stock data."/>

<s:RadioButton groupName="stocks" label="View Company A"
selected="true" click="candlestickchart.dataProvider=companyAAC;"/>
selected="true" click="candlestickchart.dataProvider=companyAAC"/>
<s:RadioButton groupName="stocks" label="View Company B"
click="candlestickchart.dataProvider=companyBAC;"/>
click="candlestickchart.dataProvider=companyBAC"/>
</s:BorderContainer>

</s:Panel>

0 comments on commit 186a01b

Please sign in to comment.