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

Method value_range

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

Sets the range of values displayed on the axis. # Arguments `min` - The minimum value of the axis range. `max` - The maximum value of the axis range.

(mut self, min: f64, max: f64)

Source from the content-addressed store, hash-verified

146 /// * `min` - The minimum value of the axis range.
147 /// * `max` - The maximum value of the axis range.
148 pub fn value_range(mut self, min: f64, max: f64) -> Self {
149 self.value_range = Some([min, max]);
150 self
151 }
152
153 /// Sets whether to use thousands separators for values.
154 ///

Callers 5

test_value_rangeFunction · 0.80
test_builder_chainingFunction · 0.80
regular_grid_exampleFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 2

test_value_rangeFunction · 0.64
test_builder_chainingFunction · 0.64