From b986a259e14291dd4087a5ee39ba906ed9cd2852 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Tue, 17 May 2022 05:42:48 -0400 Subject: [PATCH] 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. --- src/canvas/components/time_graph.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/canvas/components/time_graph.rs b/src/canvas/components/time_graph.rs index 7448ff5c..7d1cac59 100644 --- a/src/canvas/components/time_graph.rs +++ b/src/canvas/components/time_graph.rs @@ -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),