Skip to content

Commit

Permalink
Use stepped curve for chronology
Browse files Browse the repository at this point in the history
Fixes #297
  • Loading branch information
joto committed Nov 17, 2020
1 parent 12fc22e commit 6749120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/public/js/taginfo.js
Expand Up @@ -935,7 +935,7 @@ function draw_chronology_chart(data, filter) {
.domain([0, max])
.range([h, 0]);

var line = d3.line()
var line = d3.line().curve(d3.curveStepAfter)
.x(d => scale_x(d.date))
.y(d => scale_y(d.sum));

Expand Down

0 comments on commit 6749120

Please sign in to comment.