1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-03 15:20:05 -04:00

Improved plot interaction methods (#892)

ctx plot_bounds plot_hovered screen_from_plot plot_from_screen etc
This commit is contained in:
Sven Niederberger
2021-11-27 23:59:32 +01:00
committed by GitHub
parent 6b5c4b9aec
commit 9d56bce592
7 changed files with 191 additions and 138 deletions

View File

@@ -238,6 +238,7 @@ fn example_plot(ui: &mut egui::Ui) -> egui::Response {
.height(32.0)
.data_aspect(1.0)
.show(ui, |plot_ui| plot_ui.line(line))
.response
}
fn doc_link_label<'a>(title: &'a str, search_term: &'a str) -> impl egui::Widget + 'a {