pub trait TickDisplayBuilder<'a> {
    // Required method
    fn y_tick_display(&'a mut self, density: TickDisplay) -> &'a mut Chart<'a>;
}
Expand description

Provides an interface for adding tick labels to the y-axis

Required Methods§

source

fn y_tick_display(&'a mut self, density: TickDisplay) -> &'a mut Chart<'a>

Specifies the tick label density of y-axis. TickDisplay::Sparse will change the canvas height to the nearest multiple of 16 TickDisplay::Dense will change the canvas height to the nearest multiple of 8

Implementors§

source§

impl<'a> TickDisplayBuilder<'a> for Chart<'a>