summaryrefslogtreecommitdiff
path: root/js/util/trellis-chart.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/util/trellis-chart.js')
-rw-r--r--js/util/trellis-chart.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/js/util/trellis-chart.js b/js/util/trellis-chart.js
index 139d663..65e07a2 100644
--- a/js/util/trellis-chart.js
+++ b/js/util/trellis-chart.js
@@ -10,11 +10,11 @@ function trellisChart(anchor, monoGroups) {
var subChartLength = 57;
var subChartUnpaddedLength = 50;
var subChartPadding = 7;
+ var filler = d3.scale.log().domain([1, 2]).range([0, 255]);
var margin = {top: 10, right: 10, bottom: 20, left: 10};
var anchor = d3.select(anchor);
var g = anchor.select("g");
- var filler = d3.scale.log().domain([1, 2]).range([0, 255]);
var _chart = function() {
if (g.empty()) {
@@ -126,5 +126,15 @@ function trellisChart(anchor, monoGroups) {
;
}
+ _chart.filter = function() {
+ /*
+ * TODO:
+ * This is going to be interesting. As the chart is not charting a single
+ * monogroup, and most code is built around this assumption, this might
+ * well end up being a messy special case.
+ */
+ return null;
+ }
+
return _chart;
}