Commit ea641a29 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix x axis tick culling - #136

parent 17b6e553
......@@ -3010,6 +3010,7 @@
break;
}
}
d3.selectAll('.' + CLASS.axisX + ' .tick').sort(function (e1, e2) { return e1 - e2; });
d3.selectAll('.' + CLASS.axisX + ' .tick text').each(function (e, i) {
d3.select(this).style('display', i % intervalForCulling ? 'none' : 'block');
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment