pub struct Panel {Show 16 fields
pub layout: Option<(u32, u32, u32)>,
pub xlabel: Option<String>,
pub ylabel: Option<String>,
pub title: Option<String>,
pub legend: Vec<String>,
pub xlim: Option<(f64, f64)>,
pub ylim: Option<(f64, f64)>,
pub grid: bool,
pub series: Vec<PendingSeries>,
pub annotations: Vec<(f64, f64, String)>,
pub font_size: Option<u32>,
pub line_width: Option<f32>,
pub marker_size: Option<u32>,
pub grid_color: Option<StyleColor>,
pub grid_width: Option<f32>,
pub axis_mode: Option<AxisMode>,
}Expand description
A committed subplot panel ready for file rendering.
Fields§
§layout: Option<(u32, u32, u32)>Grid position (rows, cols, index_1based) inside a subplot layout.
xlabel: Option<String>X-axis label.
ylabel: Option<String>Y-axis label.
title: Option<String>Chart title.
legend: Vec<String>Series labels for legend.
xlim: Option<(f64, f64)>X-axis range override.
ylim: Option<(f64, f64)>Y-axis range override.
grid: boolWhether to draw grid lines.
series: Vec<PendingSeries>Accumulated data series.
annotations: Vec<(f64, f64, String)>Text annotations placed on this panel.
font_size: Option<u32>Session-level font size carried into this panel.
line_width: Option<f32>Session-level line width carried into this panel.
marker_size: Option<u32>Session-level marker size carried into this panel.
grid_color: Option<StyleColor>Session-level grid colour override carried into this panel.
grid_width: Option<f32>Session-level grid line width carried into this panel.
axis_mode: Option<AxisMode>Axis display mode override carried into this panel.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Panel
impl RefUnwindSafe for Panel
impl Send for Panel
impl Sync for Panel
impl Unpin for Panel
impl UnsafeUnpin for Panel
impl UnwindSafe for Panel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more