Skip to content

Commit b50fa32

Browse files
committed
Jump to the batch page when clicking a point in the timeline graphs
1 parent 203605d commit b50fa32

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/main/resources/org/apache/spark/ui/static/streaming-page.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ function drawTimeline(id, data, minX, maxX, minY, maxY, unitY, batchInterval) {
164164
.attr("stroke", "white")
165165
.attr("fill", "white")
166166
.attr("opacity", "0");
167+
})
168+
.on("click", function(d) {
169+
window.location.href = "batch/?id=" + d.x;
167170
});
168171
}
169172

0 commit comments

Comments
 (0)