Trait DisplayMode
Source pub trait DisplayMode {
// Required methods
fn axis(&self, cfg: &GraphConfig, dimension: Dimension) -> Axis<'_>;
fn process(&mut self, cfg: &GraphConfig, data: &Matrix<f64>) -> Vec<DataSet>;
fn mode_str(&self) -> &'static str;
// Provided methods
fn channel_name(&self, index: usize) -> String { ... }
fn header(&self, _cfg: &GraphConfig) -> String { ... }
fn references(&self, _cfg: &GraphConfig) -> Vec<DataSet> { ... }
fn handle(&mut self, _event: Event) { ... }
}