PlotTheme

Trait PlotTheme 

Source
pub trait PlotTheme {
    // Required methods
    fn get_background_color(&self) -> Vec4;
    fn get_text_color(&self) -> Vec4;
    fn get_accent_color(&self) -> Vec4;
    fn get_grid_color(&self) -> Vec4;
    fn get_axis_color(&self) -> Vec4;
    fn get_data_color(&self, index: usize) -> Vec4;
    fn apply_to_egui(&self, ctx: &Context);
}
Expand description

Trait for theme implementations

Required Methods§

Implementors§