MCPcopy Create free account
hub / github.com/5ocworkshop/bgraph / y_range

Method y_range

src/classes/cls_mini_graph.rs:67–70  ·  view source on GitHub ↗

Set the Y-axis range for value mapping.

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

Source from the content-addressed store, hash-verified

65
66 /// Set the Y-axis range for value mapping.
67 pub fn y_range(mut self, min: f32, max: f32) -> Self {
68 self.y_range = (min, max);
69 self
70 }
71
72 /// Set the color gradient for per-character coloring.
73 pub fn gradient(mut self, gradient: ColorGradient) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected