| 39 | /// Configures the appearance of grid lines inside the plot area. |
| 40 | #[derive(Debug, Clone, Copy, PartialEq, Default)] |
| 41 | pub 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. |
| 53 | pub fn default_style(theme: &Theme) -> PlotStyle { |
nothing calls this directly
no outgoing calls
no test coverage detected