MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / GridStyle

Class GridStyle

src/style.rs:41–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39/// Configures the appearance of grid lines inside the plot area.
40#[derive(Debug, Clone, Copy, PartialEq, Default)]
41pub struct GridStyle {
42 /// Color of major grid lines.
43 pub major: Color,
44
45 /// Color of minor grid lines.
46 pub minor: Color,
47
48 /// Color of sub-minor grid lines.
49 pub sub_minor: Color,
50}
51
52/// Returns the default plot style derived from the current application theme.
53pub fn default_style(theme: &Theme) -> PlotStyle {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected