Skip to content

Commit

Permalink
improved chart legend
Browse files Browse the repository at this point in the history
  • Loading branch information
GyulyVGC committed Jan 20, 2024
1 parent 952c6fd commit aa8e6c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chart/types/traffic_chart.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ impl Chart<Message> for TrafficChart {
chart
.configure_series_labels()
.position(SeriesLabelPosition::UpperRight)
.background_style(BLACK.mix(0.3))
.border_style(BLACK.mix(0.6))
.background_style(buttons_color.mix(0.6))
.border_style(buttons_color.stroke_width(CHARTS_LINE_BORDER * 2))
.label_font(
("Sarasa Mono SC", 13.5)
.into_font()
Expand Down

0 comments on commit aa8e6c3

Please sign in to comment.