Small change

This commit is contained in:
2022-06-28 23:29:44 +02:00
parent 22c61d47b1
commit 32df04fb6d

View File

@@ -126,7 +126,7 @@ fn main() {
chart
.draw_series(LineSeries::new(data, &color))
.unwrap()
.label(format!("{}", player))
.label(player)
.legend(move |(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &color));
}