--- a/static/candolint.js Fri Oct 06 16:06:44 2017 +0800
+++ b/static/candolint.js Fri Oct 06 16:22:57 2017 +0800
y1.rangeRound([height, 0]);
y2.rangeRound([height, 0]);
- .attr('stroke', '#000')
- .attr('stroke-dasharray', '5,2')
- .attr('x1', x(data.current) + 0.5)
- .attr('x2', x(data.current) + 0.5)
+ var cx = x(data.current) + 0.5;
+ .attr('stroke', '#000')
+ .attr('stroke-dasharray', '5,2')
var hover = cg.append('line')