mirror of
https://github.com/fdehau/tui-rs.git
synced 2024-11-12 19:10:45 +00:00
Change dot symbol for line chart
This commit is contained in:
parent
dce4bf15b7
commit
20465f2159
@ -34,4 +34,3 @@ pub mod line {
|
||||
}
|
||||
|
||||
pub const DOT: &'static str = "•";
|
||||
pub const BLACK_CIRCLE: &'static str = "●";
|
||||
|
@ -334,7 +334,7 @@ impl<'a> Widget for Chart<'a> {
|
||||
|
||||
buf.set_cell(graph_area.left() + dx,
|
||||
graph_area.top() + dy,
|
||||
symbols::BLACK_CIRCLE,
|
||||
symbols::DOT,
|
||||
dataset.color,
|
||||
self.background_color);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user