Small change
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user