Permalink
Browse files

git-svn-id: https://flexapps.svn.sourceforge.net/svnroot/flexapps/cen…

…sus2@658 381d3abc-5231-0410-a0e4-b068e20cbb11
  • Loading branch information...
1 parent f2ddb10 commit 55de89c91988d37ccd70997f5a75ea64cd674f09 jlward4 committed Jun 16, 2010
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (C) 2007 James Ward
-http://www.jamesward.org
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License along
-with this program; if not, write to the Free Software Foundation, Inc.,
-51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
--->
-<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:charts="com.jamesward.census2.charts.*"
- verticalScrollPolicy="off" horizontalScrollPolicy="off">
-
- <mx:Script>
- import com.jamesward.census2.utils.TextFormatters;
-
- import mx.charts.ChartItem;
- import mx.core.Application;
- </mx:Script>
-
- <mx:ArrayCollection id="dataProvider"/>
-
- <mx:SeriesInterpolate id="interpolate"/>
-
- <mx:BarChart id="chart" width="100%" height="100%" dataProvider="{dataProvider}" verticalAxisRatio="1"
- selectionMode="multiple" gutterRight="20">
-
- <mx:change>
- var c:ChartItem = chart.selectedChartItem;
- Application.application.selectChartItem(c);
- </mx:change>
-
- <mx:backgroundElements>
- <charts:ChartBackgroundFill/>
- </mx:backgroundElements>
-
- <mx:verticalAxis>
- <mx:CategoryAxis id="lrtcVA" categoryField="name"/>
- </mx:verticalAxis>
-
- <mx:verticalAxisRenderers>
- <charts:StyledAxisRenderer axis="{lrtcVA}"/>
- </mx:verticalAxisRenderers>
-
- <mx:horizontalAxis>
- <mx:LinearAxis id="bcHA" labelFunction="TextFormatters.byteFormat" minimum="0"/>
- </mx:horizontalAxis>
-
- <mx:horizontalAxisRenderers>
- <charts:StyledAxisRenderer axis="{bcHA}"/>
- </mx:horizontalAxisRenderers>
-
- <mx:series>
- <mx:BarSeries xField="memorySize" displayName="Client-side Memory" showDataEffect="{interpolate}" itemRenderer="com.jamesward.census2.charts.BarItemRenderer"
- selectable="true" useHandCursor="true" mouseChildren="false" buttonMode="true">
- <mx:fill>
- <mx:LinearGradient angle="90">
- <mx:entries>
- <mx:Array>
- <mx:GradientEntry color="#990000" ratio="0" alpha="100"/>
- <mx:GradientEntry color="#6d0000" ratio="1" alpha="100"/>
- </mx:Array>
- </mx:entries>
- </mx:LinearGradient>
- </mx:fill>
- </mx:BarSeries>
- </mx:series>
- </mx:BarChart>
-
-</mx:VBox>
@@ -1,121 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (C) 2007 James Ward
-http://www.jamesward.org
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License along
-with this program; if not, write to the Free Software Foundation, Inc.,
-51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
--->
-<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:charts="com.jamesward.census2.charts.*"
- verticalScrollPolicy="off" horizontalScrollPolicy="off" xmlns:controls="com.jamesward.census2.controls.*">
-
- <mx:Script>
- import com.jamesward.census2.controls.ChartDataPopUp;
- import com.jamesward.census2.utils.TextFormatters;
-
- import mx.core.Application;
- import mx.charts.ChartItem;
- import mx.charts.events.ChartItemEvent;
- </mx:Script>
-
- <mx:ArrayCollection id="dataProvider"/>
-
- <mx:SeriesInterpolate id="interpolate"/>
-
- <mx:BarChart id="chart" width="100%" height="100%" dataProvider="{dataProvider}"
- showDataTips="false" type="stacked" verticalAxisRatio="1" selectionMode="multiple"
- gutterRight="20">
-
- <mx:updateComplete>
- Application.application.cdp.height = chart.height - chart.computedGutters.height - 2;
- </mx:updateComplete>
-
- <mx:change>
- var c:ChartItem = chart.selectedChartItem;
-
- if (c != null)
- {
- for each (var s:BarSeries in chart.series)
- {
- s.selectedIndex = c.index;
- }
- }
-
- Application.application.selectChartItem(c);
- </mx:change>
-
- <mx:backgroundElements>
- <charts:ChartBackgroundFill/>
- </mx:backgroundElements>
-
- <mx:verticalAxis>
- <mx:CategoryAxis id="lrtcVA" categoryField="name"/>
- </mx:verticalAxis>
-
- <mx:verticalAxisRenderers>
- <charts:StyledAxisRenderer axis="{lrtcVA}"/>
- </mx:verticalAxisRenderers>
-
- <mx:horizontalAxis>
- <mx:LinearAxis id="lrtcHA" labelFunction="TextFormatters.timeFormat" minimum="0"/>
- </mx:horizontalAxis>
-
- <mx:horizontalAxisRenderers>
- <charts:StyledAxisRenderer axis="{lrtcHA}"/>
- </mx:horizontalAxisRenderers>
-
- <mx:series>
- <mx:BarSeries xField="requestTime" showDataEffect="{interpolate}" displayName="Request" itemRenderer="com.jamesward.census2.charts.BarItemRenderer"
- selectable="true" useHandCursor="true" mouseChildren="false" buttonMode="true">
- <mx:fill>
- <mx:LinearGradient angle="90">
- <mx:entries>
- <mx:Array>
- <mx:GradientEntry color="#467299" ratio="0" alpha="100"/>
- <mx:GradientEntry color="#2a547a" ratio="1" alpha="100"/>
- </mx:Array>
- </mx:entries>
- </mx:LinearGradient>
- </mx:fill>
- </mx:BarSeries>
- <mx:BarSeries xField="parseTime" showDataEffect="{interpolate}" displayName="Parse" itemRenderer="com.jamesward.census2.charts.BarItemRenderer"
- selectable="true" useHandCursor="true" mouseChildren="false" buttonMode="true">
- <mx:fill>
- <mx:LinearGradient angle="90">
- <mx:entries>
- <mx:Array>
- <mx:GradientEntry color="#f6c54c" ratio="0" alpha="100"/>
- <mx:GradientEntry color="#d8a62d" ratio="1" alpha="100"/>
- </mx:Array>
- </mx:entries>
- </mx:LinearGradient>
- </mx:fill>
- </mx:BarSeries>
- <mx:BarSeries xField="renderTime" showDataEffect="{interpolate}" displayName="Render" itemRenderer="com.jamesward.census2.charts.BarItemRenderer"
- selectable="true" useHandCursor="true" mouseChildren="false" buttonMode="true">
- <mx:fill>
- <mx:LinearGradient angle="90">
- <mx:entries>
- <mx:Array>
- <mx:GradientEntry color="#ff3f20" ratio="0" alpha="100"/>
- <mx:GradientEntry color="#c92719" ratio="1" alpha="100"/>
- </mx:Array>
- </mx:entries>
- </mx:LinearGradient>
- </mx:fill>
- </mx:BarSeries>
- </mx:series>
- </mx:BarChart>
-
-</mx:Canvas>
@@ -1,80 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (C) 2007 James Ward
-http://www.jamesward.org
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License along
-with this program; if not, write to the Free Software Foundation, Inc.,
-51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
--->
-<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:charts="com.jamesward.census2.charts.*"
- verticalScrollPolicy="off" horizontalScrollPolicy="off">
-
- <mx:Script>
- import com.jamesward.census2.utils.TextFormatters;
-
- import mx.charts.ChartItem;
- import mx.core.Application;
- </mx:Script>
-
- <mx:ArrayCollection id="dataProvider"/>
-
- <mx:SeriesInterpolate id="interpolate"/>
-
- <mx:BarChart id="chart" width="100%" height="100%" dataProvider="{dataProvider}" verticalAxisRatio="1"
- selectionMode="multiple" gutterRight="20">
-
- <mx:change>
- var c:ChartItem = chart.selectedChartItem;
- Application.application.selectChartItem(c);
- </mx:change>
-
- <mx:backgroundElements>
- <charts:ChartBackgroundFill/>
- </mx:backgroundElements>
-
- <mx:verticalAxis>
- <mx:CategoryAxis id="lrtcVA" categoryField="name"/>
- </mx:verticalAxis>
-
- <mx:verticalAxisRenderers>
- <charts:StyledAxisRenderer axis="{lrtcVA}"/>
- </mx:verticalAxisRenderers>
-
- <mx:horizontalAxis>
- <mx:LinearAxis id="bcHA" labelFunction="TextFormatters.byteFormat" minimum="0"/>
- </mx:horizontalAxis>
-
- <mx:horizontalAxisRenderers>
- <charts:StyledAxisRenderer axis="{bcHA}"/>
- </mx:horizontalAxisRenderers>
-
- <mx:series>
- <mx:BarSeries xField="contentLength" displayName="Transfer Size" showDataEffect="{interpolate}" itemRenderer="com.jamesward.census2.charts.BarItemRenderer"
- selectable="true" useHandCursor="true" mouseChildren="false" buttonMode="true">
- <mx:fill>
- <mx:LinearGradient angle="90">
- <mx:entries>
- <mx:Array>
- <mx:GradientEntry color="#339966" ratio="0" alpha="100"/>
- <mx:GradientEntry color="#246d49" ratio="1" alpha="100"/>
- </mx:Array>
- </mx:entries>
- </mx:LinearGradient>
- </mx:fill>
- </mx:BarSeries>
- </mx:series>
-
- </mx:BarChart>
-
-</mx:VBox>

0 comments on commit 55de89c

Please sign in to comment.