Trait textplots::TickDisplayBuilder
source · 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§
sourcefn y_tick_display(&'a mut self, density: TickDisplay) -> &'a mut Chart<'a>
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