From b7dd25e7ed33b0ffdad2e3f912f5badedaa7a74e Mon Sep 17 00:00:00 2001 From: Freeyorp Date: Sat, 13 Apr 2013 14:30:22 +1200 Subject: Rearrange charts by needed width --- css/style.css | 8 ++++---- index.html | 14 +++++++------- js/mv.js | 14 +++++++------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/css/style.css b/css/style.css index 0b37fb7..486ef83 100644 --- a/css/style.css +++ b/css/style.css @@ -6,14 +6,14 @@ body { } /* Top-level layout */ -#side { +.side { float: right; } #main { overflow: hidden; } -#body, #main, #status, #side { +#body, #main, #status, .side { min-height: 40px; } @@ -26,8 +26,8 @@ body { font-size: smaller; } -#side { - width: 650px; +.side { + width: 400px; font-size: smaller; } diff --git a/index.html b/index.html index 1a029cd..ea347f2 100644 --- a/index.html +++ b/index.html @@ -5,14 +5,8 @@
-
+
-
-

Experience gain instances by Date

-
-
-

Experience gain instances by Character ID [?]

-

Experience gain instances by Character Base Level

@@ -52,6 +46,12 @@

Experience gain by Map [?]

+
+

Experience gain instances by Date

+
+
+

Experience gain instances by Character ID [?]

+
diff --git a/js/mv.js b/js/mv.js index 019e8ff..b4910ed 100644 --- a/js/mv.js +++ b/js/mv.js @@ -220,7 +220,7 @@ var mv = {}; .style("opacity", 1) ; mv.dateChart = dc.barChart("#date-chart") - .width(630) + .width(700) .height(130) .margins({left: 60, right: 18, top: 5, bottom: 30}) .dimension(dateDim) @@ -238,7 +238,7 @@ var mv = {}; .brushOn(true) ; mv.pcChart = dc.barChart("#player-chart") - .width(630) + .width(700) .height(130) .margins({left: 60, right: 18, top: 5, bottom: 30}) .dimension(pcDim) @@ -252,7 +252,7 @@ var mv = {}; .brushOn(true) ; mv.blvlChart = dc.barChart("#blvl-chart") - .width(630) + .width(380) .height(130) .margins({left: 60, right: 18, top: 5, bottom: 30}) .dimension(blvlDim) @@ -265,7 +265,7 @@ var mv = {}; .brushOn(true) ; mv.typeChart = dc.pieChart("#type-chart") - .width(630) + .width(380) .height(130) .radius(60) .dimension(typeDim) @@ -273,7 +273,7 @@ var mv = {}; .colorCalculator(d3.scale.category20c()) ; mv.targetChart = dc.pieChart("#target-chart") - .width(630) + .width(380) .height(130) .radius(60) .dimension(targetDim) @@ -281,7 +281,7 @@ var mv = {}; .colorCalculator(d3.scale.category20c()) ; mv.targetChart = dc.pieChart("#wpn-chart") - .width(630) + .width(380) .height(130) .radius(60) .dimension(wpnDim) @@ -289,7 +289,7 @@ var mv = {}; .colorCalculator(d3.scale.category20c()) ; mv.defChart = dc.pieChart("#def-chart") - .width(630) + .width(380) .height(130) .radius(60) .dimension(defDim) -- cgit v1.2.3-60-g2f50