Skip to content

Commit

Permalink
styling tweaks for grid lines
Browse files Browse the repository at this point in the history
  • Loading branch information
akenshaw committed May 31, 2024
1 parent 2e7e04e commit d5ed44f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/charts/custom_line.rs
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ impl canvas::Program<Message> for CustomLine {
Point::new(x_position as f32, 0.0),
Point::new(x_position as f32, bounds.height as f32)
);
frame.stroke(&line, Stroke::default().with_color(Color::from_rgba8(40, 40, 40, 1.0)).with_width(1.0))
frame.stroke(&line, Stroke::default().with_color(Color::from_rgba8(27, 27, 27, 1.0)).with_width(1.0))
}

time = time + time_step;
Expand All @@ -514,7 +514,7 @@ impl canvas::Program<Message> for CustomLine {
Point::new(0.0, y_position),
Point::new(bounds.width as f32, y_position)
);
frame.stroke(&line, Stroke::default().with_color(Color::from_rgba8(40, 40, 40, 1.0)).with_width(1.0));
frame.stroke(&line, Stroke::default().with_color(Color::from_rgba8(27, 27, 27, 1.0)).with_width(1.0));
y += step;
}
});
Expand Down

0 comments on commit d5ed44f

Please sign in to comment.