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

Method values

crates/plotlars-core/src/components/header.rs:58–61  ·  view source on GitHub ↗

Sets custom header values. # Argument `values` - A vector of string slices representing custom header names.

(mut self, values: Vec<&str>)

Source from the content-addressed store, hash-verified

56 ///
57 /// * `values` - A vector of string slices representing custom header names.
58 pub fn values(mut self, values: Vec<&str>) -> Self {
59 self.values = Some(values.into_iter().map(|s| s.to_string()).collect());
60 self
61 }
62
63 /// Sets the height of the header.
64 ///

Callers 15

bar_plot_renders_to_svgFunction · 0.80
bar_plot_grouped_rendersFunction · 0.80
boxplot_renders_to_svgFunction · 0.80
boxplot_grouped_rendersFunction · 0.80
test_valuesFunction · 0.80
test_basic_one_traceFunction · 0.80
test_layout_no_axesFunction · 0.80
test_layout_titleFunction · 0.80
test_basic_one_traceFunction · 0.80
test_with_groupFunction · 0.80
test_layout_has_axesFunction · 0.80

Calls

no outgoing calls

Tested by 15

bar_plot_renders_to_svgFunction · 0.64
bar_plot_grouped_rendersFunction · 0.64
boxplot_renders_to_svgFunction · 0.64
boxplot_grouped_rendersFunction · 0.64
test_valuesFunction · 0.64
test_basic_one_traceFunction · 0.64
test_layout_no_axesFunction · 0.64
test_layout_titleFunction · 0.64
test_basic_one_traceFunction · 0.64
test_with_groupFunction · 0.64
test_layout_has_axesFunction · 0.64