other: make the graph legend the same color as the graph (#732)

This makes the graph legend the same color as the rest of the graph.
This commit is contained in:
Clement Tsang 2022-05-17 05:42:48 -04:00 committed by GitHub
parent a6438c6242
commit b986a259e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,6 +153,7 @@ impl<'a> TimeGraph<'a> {
.block(block)
.x_axis(x_axis)
.y_axis(y_axis)
.legend_style(self.graph_style)
.hidden_legend_constraints(
self.legend_constraints
.unwrap_or(super::DEFAULT_LEGEND_CONSTRAINTS),