Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tweet result added. Chart detail view added.

git-svn-id: https://flexapps.svn.sourceforge.net/svnroot/flexapps/census2@637 381d3abc-5231-0410-a0e4-b068e20cbb11
  • Loading branch information...
commit 1a659c6713abf9e538865785329b569d55654418 1 parent a1842eb
jlward4 authored
View
2  client/.settings/com.adobe.flexbuilder.project.prefs
@@ -1,4 +1,4 @@
-#Thu Mar 25 13:26:52 MDT 2010
+#Mon Mar 29 10:24:55 MDT 2010
eclipse.preferences.version=1
upgradeSDK/fb253292=
upgradeSDK/fb4=
View
BIN  client/src/assets/t_logo-b.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
46 client/src/census2.mxml
@@ -10,16 +10,18 @@
<mx:Script>
<![CDATA[
- import mx.rpc.AsyncToken;
- import mx.rpc.events.FaultEvent;
- import mx.rpc.events.ResultEvent;
- import mx.rpc.AsyncResponder;
- import mx.managers.CursorManager;
- import mx.core.UIComponent;
- import mx.events.FlexEvent;
- import mx.events.StyleEvent;
- import mx.utils.ObjectUtil;
- import mx.controls.Alert;
+ import com.jamesward.census2.utils.TextFormatters;
+
+ import mx.controls.Alert;
+ import mx.core.UIComponent;
+ import mx.events.FlexEvent;
+ import mx.events.StyleEvent;
+ import mx.managers.CursorManager;
+ import mx.rpc.AsyncResponder;
+ import mx.rpc.AsyncToken;
+ import mx.rpc.events.FaultEvent;
+ import mx.rpc.events.ResultEvent;
+ import mx.utils.ObjectUtil;
[Bindable]
private var averageResultsArrayCollection:ArrayCollection = new ArrayCollection();
@@ -125,6 +127,8 @@
private function switchChartArrayCollection():void
{
+ cdp.close();
+
if (resultType.selection == averageResults)
{
chartArrayCollection = averageResultsArrayCollection;
@@ -212,6 +216,20 @@
result.contentLength = 0;
result.memorySize = 0;
}
+
+ public function selectChartItem(item:Object):void
+ {
+ if (item != null)
+ {
+ cdp.data = item.item;
+
+ cdp.open();
+ }
+ else
+ {
+ cdp.close();
+ }
+ }
]]>
</mx:Script>
@@ -293,9 +311,7 @@
</mx:itemDoubleClick>
</mx:List>
<mx:Spacer height="10"/>
- <controls:LabelLink>
- <controls:htmlText><![CDATA[<a href="http://www.jamesward.com/blog/census" target="_blank">Learn more about Census</a>]]></controls:htmlText>
- </controls:LabelLink>
+ <controls:LabelLink url="http://www.jamesward.com/blog/census" label="Learn more about Census"/>
</mx:VBox>
<mx:VBox width="100%" height="100%" horizontalAlign="center" verticalGap="0" paddingTop="40" paddingLeft="0" paddingRight="20" paddingBottom="10">
<mx:HRule width="100%"/>
@@ -312,11 +328,15 @@
<mx:RadioButton groupName="resultType" id="yourResults" value="YourResults" label="Your Results" useHandCursor="true" buttonMode="true"/>
</mx:HBox>
<mx:Canvas id="chartsCanvas" width="100%" height="100%" verticalScrollPolicy="off" horizontalScrollPolicy="off">
+
<mx:VBox id="chartsVBox" width="100%" height="{chartsCanvas.height * 3}" verticalGap="0" moveEffect="Move">
<views:RecordsPerSecondChartView id="recordsPerSecondChartView" width="100%" height="100%" dataProvider="{chartArrayCollection}"/>
<views:TransferSizeChartView id="transferSizeChartView" width="100%" height="100%" dataProvider="{chartArrayCollection}"/>
<views:ClientSideMemoryChartView id="clientSideMemoryChartView" width="100%" height="100%" dataProvider="{chartArrayCollection}"/>
</mx:VBox>
+
+ <controls:ChartDataPopUp id="cdp" top="1" right="21"/>
+
</mx:Canvas>
</mx:VBox>
<mx:Spacer height="10"/>
View
50 client/src/com/jamesward/census2/charts/BarItemRenderer.as
@@ -22,13 +22,20 @@ package com.jamesward.census2.charts
import flash.display.Graphics;
import flash.geom.Rectangle;
+import mx.charts.BarChart;
import mx.charts.ChartItem;
import mx.charts.chartClasses.GraphicsUtilities;
+import mx.charts.series.BarSeries;
import mx.charts.series.items.BarSeriesItem;
import mx.core.IDataRenderer;
+import mx.graphics.GradientEntry;
import mx.graphics.IFill;
import mx.graphics.IStroke;
+import mx.graphics.LinearGradient;
import mx.skins.ProgrammaticSkin;
+import mx.utils.ColorUtil;
+import mx.utils.GraphicsUtil;
+import mx.utils.ObjectUtil;
public class BarItemRenderer extends ProgrammaticSkin implements IDataRenderer
{
@@ -58,7 +65,34 @@ public class BarItemRenderer extends ProgrammaticSkin implements IDataRenderer
{
super.updateDisplayList(unscaledWidth, unscaledHeight);
- var fill:IFill = GraphicsUtilities.fillFromStyle(getStyle("fill"));
+ var fill:LinearGradient = GraphicsUtilities.fillFromStyle(getStyle("fill")) as LinearGradient;
+
+ var customFill:LinearGradient = new LinearGradient();
+ customFill.angle = fill.angle;
+ customFill.entries = [new GradientEntry(fill.entries[0].color, fill.entries[0].ratio, fill.entries[0].alpha), new GradientEntry(fill.entries[1].color, fill.entries[1].ratio, fill.entries[1].alpha)];
+
+ var state:String = "";
+
+ if (_data is ChartItem)
+ {
+ state = _data.currentState;
+ }
+
+ switch(state)
+ {
+ case ChartItem.FOCUSED:
+ case ChartItem.ROLLOVER:
+ customFill.entries[0].color = ColorUtil.adjustBrightness2(fill.entries[0].color, -15);
+ customFill.entries[1].color = ColorUtil.adjustBrightness2(fill.entries[1].color, -15);
+
+ break;
+ case ChartItem.FOCUSEDSELECTED:
+ case ChartItem.SELECTED:
+ customFill.entries[0].color = ColorUtil.adjustBrightness2(fill.entries[0].color, -30);
+ customFill.entries[1].color = ColorUtil.adjustBrightness2(fill.entries[1].color, -30);
+
+ break;
+ }
var s:Number = 1;
if (_data is BarSeriesItem)
@@ -93,16 +127,16 @@ public class BarItemRenderer extends ProgrammaticSkin implements IDataRenderer
var g:Graphics = graphics;
g.clear();
- g.moveTo(rc.left,rc.top);
+ g.moveTo(rc.left, rc.top);
- fill.begin(g,rc);
+ customFill.begin(g, rc);
- g.lineTo(rc.right,rc.top);
- g.lineTo(rc.right,rc.bottom);
- g.lineTo(rc.left,rc.bottom);
- g.lineTo(rc.left,rc.top);
+ g.lineTo(rc.right, rc.top);
+ g.lineTo(rc.right, rc.bottom);
+ g.lineTo(rc.left, rc.bottom);
+ g.lineTo(rc.left, rc.top);
- fill.end(g);
+ customFill.end(g);
}
}
View
52 client/src/com/jamesward/census2/controls/ChartDataPopUp.mxml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
+ width="0"
+ backgroundAlpha="0.85"
+ verticalScrollPolicy="off"
+ horizontalScrollPolicy="off"
+ borderSides="left top"
+ borderStyle="solid"
+ borderThickness="1">
+
+ <mx:Script>
+ import com.jamesward.census2.utils.TextFormatters;
+
+ public var isOpen:Boolean = false;
+
+ public function open():void
+ {
+ if (!isOpen)
+ {
+ a.fromValue = 0;
+ a.toValue = v.width;
+ a.play();
+ isOpen = true;
+ }
+ }
+
+ public function close():void
+ {
+ if (isOpen)
+ {
+ a.fromValue = v.width;
+ a.toValue = 0;
+ a.play();
+
+ isOpen = false;
+ }
+ }
+ </mx:Script>
+
+ <mx:AnimateProperty id="a" target="{this}" property="width"/>
+
+ <mx:VBox id="v" width="200" height="100%" paddingBottom="10" paddingLeft="10" paddingRight="10" paddingTop="10">
+ <mx:Text id="t" width="100%" htmlText="{TextFormatters.getChartDetails(data)}"/>
+ <mx:Spacer height="100%"/>
+ <mx:Button label="Tweet Result" icon="@Embed(source='assets/t_logo-b.png')" height="40" width="100%" paddingLeft="0" useHandCursor="true" buttonMode="true" fontSize="14" fontWeight="bold">
+ <mx:click>
+ navigateToURL(new URLRequest("http://twitter.com/home?status=" + TextFormatters.getTweet(data)));
+ </mx:click>
+ </mx:Button>
+ </mx:VBox>
+
+</mx:Canvas>
View
49 client/src/com/jamesward/census2/controls/LabelLink.as
@@ -1,13 +1,60 @@
package com.jamesward.census2.controls
{
+ import flash.events.MouseEvent;
+ import flash.net.URLRequest;
+ import flash.net.navigateToURL;
import flash.text.StyleSheet;
-
+
import mx.controls.Label;
public class LabelLink extends Label
{
private var styleSheetValid:Boolean = false;
+ private var _label:String;
+
+ private var _url:String;
+
+
+ public function LabelLink()
+ {
+ super();
+
+ addEventListener(MouseEvent.CLICK, function(event:MouseEvent):void {
+ navigateToURL(new URLRequest(url));
+ });
+ }
+
+
+ public function set label(_label:String):void
+ {
+ this._label = _label;
+
+ invalidateText();
+ }
+
+ public function get label():String
+ {
+ return _label;
+ }
+
+ public function set url(_url:String):void
+ {
+ this._url = _url;
+
+ invalidateText();
+ }
+
+ public function get url():String
+ {
+ return _url;
+ }
+
+ private function invalidateText():void
+ {
+ this.htmlText = "<a href='" + url + "'>" + label + "</a>";
+ }
+
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
{
super.updateDisplayList(unscaledWidth, unscaledHeight);
View
6 client/src/com/jamesward/census2/skins/ButtonSkin.as
@@ -20,13 +20,15 @@ package com.jamesward.census2.skins
{
import flash.display.GradientType;
+
import mx.controls.Button;
import mx.core.UIComponent;
import mx.skins.Border;
+ import mx.skins.ProgrammaticSkin;
import mx.styles.StyleManager;
- import mx.utils.ColorUtil;
+ import mx.utils.ColorUtil;
- public class ButtonSkin extends Border
+ public class ButtonSkin extends ProgrammaticSkin
{
public function ButtonSkin()
View
68 client/src/com/jamesward/census2/utils/TextFormatters.as
@@ -38,6 +38,10 @@ public class TextFormatters
{
return nf.format(n / 1000) + " KB";
}
+ else if (n == 0)
+ {
+ return "n/a";
+ }
else
{
return nf.format(n) + " B";
@@ -53,38 +57,48 @@ public class TextFormatters
{
return nf.format(n / 1000) + " s";
}
+ else if (n == 0)
+ {
+ return "n/a";
+ }
else
{
return nf.format(n) + " ms";
}
}
-
- public static function getBandwidthDataTip(hitData:HitData):String
- {
- return "<b>" + hitData.item.name + " - " + hitData.item.numRows + " Rows</b>" +
- "<br/>Transfer Size: " + byteFormat(hitData.item.contentLength) +
- "<br/><br/><b>Transfer Size Per Row: " + byteFormat(hitData.item.contentLength / hitData.item.numRows) + "</b>";
- }
-
- public static function getTimeDataTip(hitData:HitData):String
+
+ private static function getRpsFormatter():NumberFormatter
{
var rpsFormatter:NumberFormatter = new NumberFormatter();
rpsFormatter.useThousandsSeparator = true;
rpsFormatter.precision = 0;
+ return rpsFormatter;
+ }
+
+ private static function getTotalTime(item:Object):Number
+ {
+ var totalTime:Number = item.totalServerTime + item.transferTime + item.parseTime + item.renderTime;
+ return totalTime;
+ }
+
+ public static function getChartDetails(item:Object):String
+ {
+
+ var s:String = "<font size='20'><b>" + item.name + "</b></font>" +
+ "<br/><font size='16'><b>Rows: " + getRpsFormatter().format(item.numRows) + "</b></font>" +
+ "<br/><font size='16'><b>Gzip: " + item.gzip + "</b></font>";
- var totalTime:Number = hitData.item.totalServerTime + hitData.item.transferTime + hitData.item.parseTime + hitData.item.renderTime;
-
- var s:String = "<b>" + hitData.item.name + " - " + hitData.item.numRows + " Rows</b>" +
- "<br/>Gzip Enabled = " + hitData.item.gzip;
-
- if (totalTime > 0)
+ if (getTotalTime(item) > 0)
{
- s += "<br/>Server Exec Time: " + timeFormat(hitData.item.totalServerTime) +
- "<br/>Transfer Time: " + timeFormat(hitData.item.transferTime) +
- "<br/>Parse Time: " + timeFormat(hitData.item.parseTime) +
- "<br/>Render Time: " + timeFormat(hitData.item.renderTime) +
- "<br/>Total Time: " + timeFormat(totalTime) +
- "<br/><br/><b>Rows Per Second: " + rpsFormatter.format((hitData.item.numRows / (totalTime) * 1000)) + "</b>";
+ s += "<br/><br/><font size='14'><b>" + getRpsFormatter().format((item.numRows / (getTotalTime(item)) * 1000)) + " rows/s</b></font>" +
+ "<br/><font size='12'>Server Exec Time: " + timeFormat(item.totalServerTime) + "</font>" +
+ "<br/><font size='12'>Transfer Time: " + timeFormat(item.transferTime) + "</font>" +
+ "<br/><font size='12'>Parse Time: " + timeFormat(item.parseTime) + "</font>" +
+ "<br/><font size='12'>Render Time: " + timeFormat(item.renderTime) + "</font>" +
+ "<br/><font size='12'><b>Total Time: " + timeFormat(getTotalTime(item)) + "</b></font>" +
+ "<br/><br/><font size='14'><b>" + byteFormat(item.contentLength / item.numRows) + "/row</b></font>" +
+ "<br/><font size='12'>Transfer Size: " + byteFormat(item.contentLength) + "</font>" +
+ "<br/><br/><font size='12'>Client memory: " + byteFormat(item.memorySize) +"</font>";
}
else
{
@@ -92,14 +106,12 @@ public class TextFormatters
}
return s;
-
}
-
- public static function getMemoryDataTip(hitData:HitData):String
+
+ public static function getTweet(item:Object):String
{
- return "<b>" + hitData.item.name + " - " + hitData.item.numRows + " Rows</b>" +
- "<br/>Memory: " + byteFormat(hitData.item.memorySize);
- }
-
+ return "Just benchmarked " + item.name + " - " + getRpsFormatter().format(item.numRows) + " rows in " + timeFormat(getTotalTime(item)) + "! http://jamesward.com/census";
}
+
+}
}
View
20 client/src/com/jamesward/census2/views/ClientSideMemoryChartView.mxml
@@ -22,14 +22,30 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<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}" showDataTips="true" dataTipFunction="TextFormatters.getMemoryDataTip" verticalAxisRatio="1">
-
+ <mx:BarChart id="chart" width="100%" height="100%" dataProvider="{dataProvider}" verticalAxisRatio="1"
+ selectionMode="single" gutterRight="20">
+ <!--
+ <mx:updateComplete>
+ Application.application.cdp.setStyle("top", chart.computedGutters.top + 1);
+ Application.application.cdp.setStyle("right", chart.computedGutters.right + 1);
+ Application.application.cdp.height = chart.height - chart.computedGutters.height - 2;
+ </mx:updateComplete>
+ -->
+
+ <mx:change>
+ var c:ChartItem = chart.selectedChartItem;
+ Application.application.selectChartItem(c);
+ </mx:change>
+
<mx:backgroundElements>
<charts:ChartBackgroundFill/>
</mx:backgroundElements>
View
47 client/src/com/jamesward/census2/views/RecordsPerSecondChartView.mxml
@@ -17,11 +17,16 @@ 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: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.utils.TextFormatters;
+ 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"/>
@@ -29,11 +34,26 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<mx:SeriesInterpolate id="interpolate"/>
<mx:BarChart id="chart" width="100%" height="100%" dataProvider="{dataProvider}"
- showDataTips="true" type="stacked" dataTipFunction="TextFormatters.getTimeDataTip" verticalAxisRatio="1" selectionMode="single">
+ 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:itemClick>
+ <mx:change>
+ var c:ChartItem = chart.selectedChartItem;
- </mx:itemClick>
+ 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/>
@@ -56,7 +76,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</mx:horizontalAxisRenderers>
<mx:series>
- <mx:BarSeries xField="totalServerTime" showDataEffect="{interpolate}" displayName="Server Exec Time" itemRenderer="com.jamesward.census2.charts.BarItemRenderer" left="10">
+ <mx:BarSeries id="totalServerTimeSeries" xField="totalServerTime" showDataEffect="{interpolate}" displayName="Server Exec Time" itemRenderer="com.jamesward.census2.charts.BarItemRenderer"
+ selectable="true" useHandCursor="true" mouseChildren="false" buttonMode="true">
<mx:fill>
<mx:LinearGradient angle="90">
<mx:entries>
@@ -68,7 +89,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</mx:LinearGradient>
</mx:fill>
</mx:BarSeries>
- <mx:BarSeries xField="transferTime" showDataEffect="{interpolate}" displayName="Transfer Time" itemRenderer="com.jamesward.census2.charts.BarItemRenderer">
+ <mx:BarSeries xField="transferTime" showDataEffect="{interpolate}" displayName="Transfer Time" itemRenderer="com.jamesward.census2.charts.BarItemRenderer"
+ selectable="true" useHandCursor="true" mouseChildren="false" buttonMode="true" currentState="{totalServerTimeSeries.currentState}">
<mx:fill>
<mx:LinearGradient angle="90">
<mx:entries>
@@ -80,7 +102,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</mx:LinearGradient>
</mx:fill>
</mx:BarSeries>
- <mx:BarSeries xField="parseTime" showDataEffect="{interpolate}" displayName="Parse Time" itemRenderer="com.jamesward.census2.charts.BarItemRenderer">
+ <mx:BarSeries xField="parseTime" showDataEffect="{interpolate}" displayName="Parse Time" itemRenderer="com.jamesward.census2.charts.BarItemRenderer"
+ selectable="true" useHandCursor="true" mouseChildren="false" buttonMode="true" currentState="{totalServerTimeSeries.currentState}">
<mx:fill>
<mx:LinearGradient angle="90">
<mx:entries>
@@ -92,7 +115,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</mx:LinearGradient>
</mx:fill>
</mx:BarSeries>
- <mx:BarSeries xField="renderTime" showDataEffect="{interpolate}" displayName="Render Time" itemRenderer="com.jamesward.census2.charts.BarItemRenderer">
+ <mx:BarSeries xField="renderTime" showDataEffect="{interpolate}" displayName="Render Time" itemRenderer="com.jamesward.census2.charts.BarItemRenderer"
+ selectable="true" useHandCursor="true" mouseChildren="false" buttonMode="true" currentState="{totalServerTimeSeries.currentState}">
<mx:fill>
<mx:LinearGradient angle="90">
<mx:entries>
@@ -106,4 +130,5 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</mx:BarSeries>
</mx:series>
</mx:BarChart>
-</mx:VBox>
+
+</mx:Canvas>
View
18 client/src/com/jamesward/census2/views/TransferSizeChartView.mxml
@@ -22,13 +22,29 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<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}" showDataTips="true" dataTipFunction="TextFormatters.getBandwidthDataTip" verticalAxisRatio="1">
+ <mx:BarChart id="chart" width="100%" height="100%" dataProvider="{dataProvider}" verticalAxisRatio="1"
+ selectionMode="single" gutterRight="20">
+ <!--
+ <mx:updateComplete>
+ Application.application.cdp.setStyle("top", chart.computedGutters.top + 1);
+ Application.application.cdp.setStyle("right", chart.computedGutters.right + 1);
+ Application.application.cdp.height = chart.height - chart.computedGutters.height - 2;
+ </mx:updateComplete>
+ -->
+
+ <mx:change>
+ var c:ChartItem = chart.selectedChartItem;
+ Application.application.selectChartItem(c);
+ </mx:change>
<mx:backgroundElements>
<charts:ChartBackgroundFill/>
View
38 client/src/readable.css
@@ -226,38 +226,6 @@ TextInput
borderStyle: solid;
}
-TabBar
-{
- tabStyleName: "myTabs";
- firstTabStyleName: "myTabs";
- lastTabStyleName: "myTabs";
-}
-
-.myTabs
-{
- fontSize: 10;
- fontWeight: bold;
- textRollOverColor: #222222;
- textSelectedColor: #222222;
- disabledColor: #d7d7d7;
- skin: ClassReference("com.jamesward.census2.skins.ButtonSkin");
- upBorderColor: #dadada;
- upInnerBorderGradientColors: #ebebeb, #f4f4f4;
- upBackgroundGradientColors: #c6c6c6, #ececec;
- overBorderColor: #dadada;
- overInnerBorderGradientColors: #ebebeb, #f4f4f4;
- overBackgroundGradientColors: #e9e9e9;
- disabledBorderColor: #dadada;
- disabledInnerBorderGradientColors: #ebebeb, #f4f4f4;
- disabledBackgroundGradientColors: #d6d6d6, #fcfcfc;
-}
-
-.tabDivider
-{
- strokeWidth: 1;
- strokeColor: #dadada;
-}
-
StyledAxisRenderer
{
showLine: false;
@@ -276,4 +244,10 @@ ChartLegendCombo
backgroundColor: #eaeaea;
borderColor: #d4d4d4;
rollOverColor: #c9c9c9;
+}
+
+ChartDataPopUp
+{
+ backgroundColor: #e1e1e1;
+ borderColor: #d4d4d4;
}
View
38 client/src/sexy.css
@@ -226,38 +226,6 @@ TextInput
borderStyle: solid;
}
-TabBar
-{
- tabStyleName: "myTabs";
- firstTabStyleName: "myTabs";
- lastTabStyleName: "myTabs";
-}
-
-.myTabs
-{
- fontSize: 10;
- fontWeight: bold;
- textRollOverColor: #dddddd;
- textSelectedColor: #dddddd;
- disabledColor: #282828;
- skin: ClassReference("com.jamesward.census2.skins.ButtonSkin");
- upBorderColor: #252525;
- upInnerBorderGradientColors: #141414, #0b0b0b;
- upBackgroundGradientColors: #393939, #131313;
- overBorderColor: #252525;
- overInnerBorderGradientColors: #141414, #0b0b0b;
- overBackgroundGradientColors: #161616;
- disabledBorderColor: #252525;
- disabledInnerBorderGradientColors: #141414, #0b0b0b;
- disabledBackgroundGradientColors: #292929, #030303;
-}
-
-.tabDivider
-{
- strokeWidth: 1;
- strokeColor: #252525;
-}
-
StyledAxisRenderer
{
showLine: false;
@@ -276,4 +244,10 @@ ChartLegendCombo
backgroundColor: #151515;
borderColor: #2b2b2b;
rollOverColor: #363636;
+}
+
+ChartDataPopUp
+{
+ backgroundColor: #1e1e1e;
+ borderColor: #2b2b2b;
}
Please sign in to comment.
Something went wrong with that request. Please try again.