Skip to content

Commit

Permalink
Jump to the batch page when clicking a point in the timeline graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
zsxwing committed May 2, 2015
1 parent 203605d commit b50fa32
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ function drawTimeline(id, data, minX, maxX, minY, maxY, unitY, batchInterval) {
.attr("stroke", "white")
.attr("fill", "white")
.attr("opacity", "0");
})
.on("click", function(d) {
window.location.href = "batch/?id=" + d.x;
});
}

Expand Down

0 comments on commit b50fa32

Please sign in to comment.