mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-21 19:53:05 +00:00
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:
parent
a6438c6242
commit
b986a259e1
1 changed files with 1 additions and 0 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue