pub struct Panel {Show 20 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>,
pub colormap: Option<ColormapSpec>,
pub right_series: Vec<PendingSeries>,
pub right_ylim: Option<(f64, f64)>,
pub right_ylabel: Option<String>,
}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.
colormap: Option<ColormapSpec>Active colormap specification carried into this panel (for ColorScatter).
right_series: Vec<PendingSeries>Series on the secondary (right) Y axis.
right_ylim: Option<(f64, f64)>Override for the right Y axis range [min, max].
right_ylabel: Option<String>Label for the right Y axis.