| 8 | /// Configures the appearance of a [`PlotWidget`](crate::PlotWidget). |
| 9 | #[derive(Debug, Clone, Copy, PartialEq, Default)] |
| 10 | pub struct PlotStyle { |
| 11 | /// Style for the outer frame surrounding labels, ticks, overlays, and plot area. |
| 12 | pub frame: container::Style, |
| 13 | |
| 14 | /// Style for the inner plot area behind the GPU-rendered canvas. |
| 15 | pub plot_area: container::Style, |
| 16 | |
| 17 | /// Style for the legend panel. |
| 18 | pub legend: container::Style, |
| 19 | |
| 20 | /// Style for the controls/help panel. |
| 21 | pub controls_panel: container::Style, |
| 22 | |
| 23 | /// Style for the cursor-position overlay bubble. |
| 24 | pub cursor_overlay: container::Style, |
| 25 | |
| 26 | /// Style for point tooltip bubbles. |
| 27 | pub tooltip: container::Style, |
| 28 | |
| 29 | /// Style for grid lines rendered inside the plot area. |
| 30 | pub grid: GridStyle, |
| 31 | |
| 32 | /// Color of tick labels rendered around the plot area. |
| 33 | pub tick_label_color: Color, |
| 34 | |
| 35 | /// Color of axis labels rendered around the plot area. |
| 36 | pub axis_label_color: Color, |
| 37 | } |
| 38 | |
| 39 | /// Configures the appearance of grid lines inside the plot area. |
| 40 | #[derive(Debug, Clone, Copy, PartialEq, Default)] |
nothing calls this directly
no outgoing calls
no test coverage detected