MCPcopy Create free account
hub / github.com/alceal/plotlars / tick_labels

Method tick_labels

crates/plotlars-core/src/components/axis.rs:188–191  ·  view source on GitHub ↗

Sets the tick labels for the axis. # Argument `labels` - A vector of values that can be converted into `String`, representing the tick labels.

(mut self, labels: Vec<impl Into<String>>)

Source from the content-addressed store, hash-verified

186 ///
187 /// * `labels` - A vector of values that can be converted into `String`, representing the tick labels.
188 pub fn tick_labels(mut self, labels: Vec<impl Into<String>>) -> Self {
189 self.tick_labels = Some(labels.into_iter().map(|x| x.into()).collect());
190 self
191 }
192
193 /// Sets the direction of the axis ticks.
194 ///

Callers 3

test_builder_chainingFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_builder_chainingFunction · 0.36