flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [01/51] [partial] this folder was called TourDeFlex_content.com and was hidden by .gitignore
Date Fri, 01 Aug 2014 05:43:22 GMT
Repository: flex-utilities
Updated Branches:
  refs/heads/develop 385e7669f -> d43c133c5


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/d43c133c/TourDeFlex/TourDeFlex_content/flex4.0/Sample-Adobe-LineChart/srcview/source/final-sample/sample1.mxml.html
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex_content/flex4.0/Sample-Adobe-LineChart/srcview/source/final-sample/sample1.mxml.html
b/TourDeFlex/TourDeFlex_content/flex4.0/Sample-Adobe-LineChart/srcview/source/final-sample/sample1.mxml.html
new file mode 100644
index 0000000..11595fb
--- /dev/null
+++ b/TourDeFlex/TourDeFlex_content/flex4.0/Sample-Adobe-LineChart/srcview/source/final-sample/sample1.mxml.html
@@ -0,0 +1,66 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- saved from url=(0014)about:internet -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>sample1.mxml</title>
+<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
+</head>
+
+<body><pre><span class="MXMLProcessing_Instruction">&lt;?xml version=&quot;1.0&quot;
encoding=&quot;utf-8&quot;?&gt;</span>
+<span class="MXMLComponent_Tag">&lt;mx:Application</span><span class="MXMLDefault_Text">
xmlns:mx=&quot;</span><span class="MXMLString">http://www.adobe.com/2006/mxml</span><span
class="MXMLDefault_Text">&quot; layout=&quot;</span><span class="MXMLString">vertical</span><span
class="MXMLDefault_Text">&quot; verticalAlign=&quot;</span><span class="MXMLString">top</span><span
class="MXMLDefault_Text">&quot;
+    horizontalAlign=&quot;</span><span class="MXMLString">center</span><span
class="MXMLDefault_Text">&quot; backgroundGradientColors=&quot;</span><span
class="MXMLString">[0x000000,0x323232]</span><span class="MXMLDefault_Text">&quot;
paddingTop=&quot;</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">&quot;
viewSourceURL=&quot;</span><span class="MXMLString">srcview/index.html</span><span
class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
+    
+    <span class="MXMLSpecial_Tag">&lt;mx:Script&gt;</span>
+        <span class="ActionScriptOperator">&lt;!</span><span class="ActionScriptBracket/Brace">[</span><span
class="ActionScriptDefault_Text">CDATA</span><span class="ActionScriptBracket/Brace">[</span>
+
+        <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span>.<span
class="ActionScriptDefault_Text">collections</span>.<span class="ActionScriptDefault_Text">ArrayCollection</span>;
+
+        <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span
class="ActionScriptBracket/Brace">]</span>
+        <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span>
<span class="ActionScriptDefault_Text">expensesAC</span><span class="ActionScriptOperator">:</span><span
class="ActionScriptDefault_Text">ArrayCollection</span> <span class="ActionScriptOperator">=</span>
<span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ArrayCollection</span><span
class="ActionScriptBracket/Brace">(</span> <span class="ActionScriptBracket/Brace">[</span>
+            <span class="ActionScriptBracket/Brace">{</span> <span class="ActionScriptDefault_Text">Month</span><span
class="ActionScriptOperator">:</span> <span class="ActionScriptString">&quot;Jan&quot;</span>,
<span class="ActionScriptDefault_Text">Profit</span><span class="ActionScriptOperator">:</span>
2000, <span class="ActionScriptDefault_Text">Expenses</span><span class="ActionScriptOperator">:</span>
1500, <span class="ActionScriptDefault_Text">Amount</span><span class="ActionScriptOperator">:</span>
450 <span class="ActionScriptBracket/Brace">}</span>,
+            <span class="ActionScriptBracket/Brace">{</span> <span class="ActionScriptDefault_Text">Month</span><span
class="ActionScriptOperator">:</span> <span class="ActionScriptString">&quot;Feb&quot;</span>,
<span class="ActionScriptDefault_Text">Profit</span><span class="ActionScriptOperator">:</span>
1000, <span class="ActionScriptDefault_Text">Expenses</span><span class="ActionScriptOperator">:</span>
200, <span class="ActionScriptDefault_Text">Amount</span><span class="ActionScriptOperator">:</span>
600 <span class="ActionScriptBracket/Brace">}</span>,
+            <span class="ActionScriptBracket/Brace">{</span> <span class="ActionScriptDefault_Text">Month</span><span
class="ActionScriptOperator">:</span> <span class="ActionScriptString">&quot;Mar&quot;</span>,
<span class="ActionScriptDefault_Text">Profit</span><span class="ActionScriptOperator">:</span>
1500, <span class="ActionScriptDefault_Text">Expenses</span><span class="ActionScriptOperator">:</span>
500, <span class="ActionScriptDefault_Text">Amount</span><span class="ActionScriptOperator">:</span>
300 <span class="ActionScriptBracket/Brace">}</span>,
+            <span class="ActionScriptBracket/Brace">{</span> <span class="ActionScriptDefault_Text">Month</span><span
class="ActionScriptOperator">:</span> <span class="ActionScriptString">&quot;Apr&quot;</span>,
<span class="ActionScriptDefault_Text">Profit</span><span class="ActionScriptOperator">:</span>
1800, <span class="ActionScriptDefault_Text">Expenses</span><span class="ActionScriptOperator">:</span>
1200, <span class="ActionScriptDefault_Text">Amount</span><span class="ActionScriptOperator">:</span>
900 <span class="ActionScriptBracket/Brace">}</span>,
+            <span class="ActionScriptBracket/Brace">{</span> <span class="ActionScriptDefault_Text">Month</span><span
class="ActionScriptOperator">:</span> <span class="ActionScriptString">&quot;May&quot;</span>,
<span class="ActionScriptDefault_Text">Profit</span><span class="ActionScriptOperator">:</span>
2400, <span class="ActionScriptDefault_Text">Expenses</span><span class="ActionScriptOperator">:</span>
575, <span class="ActionScriptDefault_Text">Amount</span><span class="ActionScriptOperator">:</span>
500 <span class="ActionScriptBracket/Brace">}</span> <span class="ActionScriptBracket/Brace">])</span>;
+        <span class="ActionScriptBracket/Brace">]]</span><span class="ActionScriptOperator">&gt;</span>
+    <span class="MXMLSpecial_Tag">&lt;/mx:Script&gt;</span>
+    
+    <span class="MXMLComponent_Tag">&lt;mx:Panel</span><span class="MXMLDefault_Text">
title=&quot;</span><span class="MXMLString">LineChart Control</span><span
class="MXMLDefault_Text">&quot; layout=&quot;</span><span class="MXMLString">horizontal</span><span
class="MXMLDefault_Text">&quot; color=&quot;</span><span class="MXMLString">0xffffff</span><span
class="MXMLDefault_Text">&quot; borderAlpha=&quot;</span><span class="MXMLString">0.15</span><span
class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">600</span><span
class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">240</span><span
class="MXMLDefault_Text">&quot;
+         paddingTop=&quot;</span><span class="MXMLString">10</span><span
class="MXMLDefault_Text">&quot; paddingRight=&quot;</span><span class="MXMLString">5</span><span
class="MXMLDefault_Text">&quot; paddingBottom=&quot;</span><span class="MXMLString">10</span><span
class="MXMLDefault_Text">&quot; paddingLeft=&quot;</span><span class="MXMLString">5</span><span
class="MXMLDefault_Text">&quot; horizontalAlign=&quot;</span><span class="MXMLString">center</span><span
class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
+         
+         <span class="MXMLComponent_Tag">&lt;mx:LineChart</span><span
class="MXMLDefault_Text"> id=&quot;</span><span class="MXMLString">linechart</span><span
class="MXMLDefault_Text">&quot; color=&quot;</span><span class="MXMLString">0x323232</span><span
class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span
class="MXMLDefault_Text">&quot;
+            showDataTips=&quot;</span><span class="MXMLString">true</span><span
class="MXMLDefault_Text">&quot; dataProvider=&quot;</span><span class="MXMLString">{</span><span
class="ActionScriptDefault_Text">expensesAC</span><span class="MXMLString">}</span><span
class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
+                
+            <span class="MXMLComponent_Tag">&lt;mx:horizontalAxis&gt;</span>
+                <span class="MXMLComponent_Tag">&lt;mx:CategoryAxis</span><span
class="MXMLDefault_Text"> categoryField=&quot;</span><span class="MXMLString">Month</span><span
class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
+            <span class="MXMLComponent_Tag">&lt;/mx:horizontalAxis&gt;</span>
+
+            <span class="MXMLComponent_Tag">&lt;mx:series&gt;</span>
+                <span class="MXMLComponent_Tag">&lt;mx:LineSeries</span><span
class="MXMLDefault_Text"> yField=&quot;</span><span class="MXMLString">Profit</span><span
class="MXMLDefault_Text">&quot; form=&quot;</span><span class="MXMLString">curve</span><span
class="MXMLDefault_Text">&quot; displayName=&quot;</span><span class="MXMLString">Profit</span><span
class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
+                <span class="MXMLComponent_Tag">&lt;mx:LineSeries</span><span
class="MXMLDefault_Text"> yField=&quot;</span><span class="MXMLString">Expenses</span><span
class="MXMLDefault_Text">&quot; form=&quot;</span><span class="MXMLString">curve</span><span
class="MXMLDefault_Text">&quot; displayName=&quot;</span><span class="MXMLString">Expenses</span><span
class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
+                <span class="MXMLComponent_Tag">&lt;mx:LineSeries</span><span
class="MXMLDefault_Text"> yField=&quot;</span><span class="MXMLString">Amount</span><span
class="MXMLDefault_Text">&quot; form=&quot;</span><span class="MXMLString">curve</span><span
class="MXMLDefault_Text">&quot; displayName=&quot;</span><span class="MXMLString">Amount</span><span
class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
+            <span class="MXMLComponent_Tag">&lt;/mx:series&gt;</span>
+        <span class="MXMLComponent_Tag">&lt;/mx:LineChart&gt;</span>
+
+        <span class="MXMLComponent_Tag">&lt;mx:Legend</span><span class="MXMLDefault_Text">
dataProvider=&quot;</span><span class="MXMLString">{</span><span
class="ActionScriptDefault_Text">linechart</span><span class="MXMLString">}</span><span
class="MXMLDefault_Text">&quot; color=&quot;</span><span class="MXMLString">0x323232</span><span
class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
+        
+    <span class="MXMLComponent_Tag">&lt;/mx:Panel&gt;</span>
+<span class="MXMLComponent_Tag">&lt;/mx:Application&gt;</span></pre></body>
+</html>


Mime
View raw message