MCPcopy Create free account
hub / github.com/emilk/egui_plot / values_with_ruler

Method values_with_ruler

egui_plot/src/items/box_plot.rs:424–432  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

422 }
423
424 fn values_with_ruler(&self) -> Vec<PlotPoint> {
425 let median = self.point_at(self.argument, self.spread.median);
426 let q1 = self.point_at(self.argument, self.spread.quartile1);
427 let q3 = self.point_at(self.argument, self.spread.quartile3);
428 let upper = self.point_at(self.argument, self.spread.upper_whisker);
429 let lower = self.point_at(self.argument, self.spread.lower_whisker);
430
431 vec![median, q1, q3, upper, lower]
432 }
433
434 fn orientation(&self) -> Orientation {
435 self.orientation

Callers 1

add_rulers_and_textFunction · 0.45

Calls 1

point_atMethod · 0.80

Tested by

no test coverage detected