Small change
This commit is contained in:
@@ -126,7 +126,7 @@ fn main() {
|
|||||||
chart
|
chart
|
||||||
.draw_series(LineSeries::new(data, &color))
|
.draw_series(LineSeries::new(data, &color))
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.label(format!("{}", player))
|
.label(player)
|
||||||
.legend(move |(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &color));
|
.legend(move |(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &color));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user