diff options
Diffstat (limited to 'src/canvas/widgets/mem_graph.rs')
-rw-r--r-- | src/canvas/widgets/mem_graph.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/canvas/widgets/mem_graph.rs b/src/canvas/widgets/mem_graph.rs index 1097c493..b6cb1af1 100644 --- a/src/canvas/widgets/mem_graph.rs +++ b/src/canvas/widgets/mem_graph.rs @@ -54,10 +54,9 @@ impl MemGraphWidget for Painter { .labels_style(self.colours.graph_style) }; - // Offset as the zero value isn't drawn otherwise... let y_axis = Axis::default() .style(self.colours.graph_style) - .bounds([-0.5, 100.5]) + .bounds([0.0, 100.5]) .labels(&["0%", "100%"]) .labels_style(self.colours.graph_style); |