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

Method x_range

src/classes/cls_graph.rs:72–75  ·  view source on GitHub ↗

Set the horizontal range (x-axis)

(mut self, start: f32, end: f32)

Source from the content-addressed store, hash-verified

70
71 /// Set the horizontal range (x-axis)
72 pub fn x_range(mut self, start: f32, end: f32) -> Self {
73 self.x_range = (start, end);
74 self
75 }
76
77 /// Set the vertical range (y-axis)
78 pub fn y_range(mut self, min: f32, max: f32) -> Self {

Calls

no outgoing calls