From 6f96fa822b236c4093749a4ada7bfbba91e36f67 Mon Sep 17 00:00:00 2001 From: Freeyorp Date: Thu, 16 May 2013 13:57:16 +1200 Subject: Show the active filter, display reset in a nicer way --- public/css/style.css | 10 ++++++++++ public/index.html | 15 ++++++++------- public/js/mv/chart.js | 2 ++ 3 files changed, 20 insertions(+), 7 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index a73e2dd..c0701f3 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -164,6 +164,16 @@ p.info { padding: 0; } +p.filterinfo { + font: 11px sans-serif; + color: #555; + margin: .4em; + padding: 0; + /* Specify size and block specifically, so that the space needed is always reserved */ + display: block; + height: 11px; +} + /* User list */ #connection-warning { diff --git a/public/index.html b/public/index.html index 160aa99..ac24d80 100644 --- a/public/index.html +++ b/public/index.html @@ -14,7 +14,7 @@
-

Character base level

+

Character base level

XP instances
Base level
@@ -27,17 +27,18 @@
-

Experience type

+

Experience type

+

More charts shown when KILLXP is filtered.

-

Target

+

Target

-

Weapon

+

Weapon

-

Number of attackers

+

Number of attackers

The number of characters responsible for attacking the mob. One character attacking a mob directly, and another attacking it with a dozen summons, would count as two attackers.

XP instances
Characters
@@ -46,12 +47,12 @@
-

Date

+

Date

XP instances
Date
-

Map

+

Map

The larger the bubble, the more XP instances for that map.

Total job XP gain
Total level XP gain
diff --git a/public/js/mv/chart.js b/public/js/mv/chart.js index 5cda3ba..535549e 100644 --- a/public/js/mv/chart.js +++ b/public/js/mv/chart.js @@ -14,6 +14,8 @@ var mv = function(mv) { .xUnits(d3.time.hours) .xAxisPadding(2) ; + /* dc's default date format is M/D/Y, which is confusing and not ISO 8901 */ + dc.dateFormat = d3.time.format("%Y-%m-%d %H:%M"); mv.charts.blvl = bar(monoGroup(med(dc.barChart("#blvl-chart")), "blvl")) .x(d3.scale.linear().domain([0, mv.heap.blvl.dim.top(1)[0].pcstat.blvl + 0.5])) ; -- cgit v1.2.3-60-g2f50