egui/crates
JohannesProgrammiert dbe55ba46a
Draw axis labels and ticks outside of plotting window (#2284)
* Always draw axis labels at plot borders

* Revert "Always draw axis labels at plot borders"

This reverts commit 9235e6603366d3b8a8189e2a5fc28c9780b7f54f.

* Add axis labels for plots

* First Draft of axis labels outside of plotting window

* plot: Tick placement of opposite axes and digit constraints

* plot: Axis label API

* plot: Update demo lib

* plot: resolve clippy warning

* Update changelog

* Remove default axis

* Fix clippy

* plot: Remove unused comments

* plot-axis: Rebase label opacity calculation on master

* plot: Resolve check.sh warnings

* plot-axis: Use 'into impl<WidgetText>' as axis label formatter

* plot-axis: Expose more conveniece functions to public API. Add axis labels to demo app

* plot-axes: Resolve ./scripts/check.sh warnings

* typo in comment

* Use `TAU` instead of the legacy `PI`

* Simpler generic syntax

* Use `Arc` to avoid some expensive clones

* Use `Margin` instead of a,b,c,d

* Add some vertical spacing

* De-duplicate color_from_contrast

* better naming

* Fix typos

* cnt -> num

* Axis are present by default, with empty names

* Add HPlacement and VPlacement

* Don't catch clicks and drags on axes

* Remove generics to minimize monomorphization code bloat

* Create helper function

* Remove changelog entry

* Simplify more

---------

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2023-08-14 17:51:17 +02:00
..
ecolor Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
eframe Change force to be Option<f32> instead of f32 (#3240) 2023-08-12 13:50:40 +02:00
egui Draw axis labels and ticks outside of plotting window (#2284) 2023-08-14 17:51:17 +02:00
egui-wgpu Update to `wgpu` 0.17.0 (#3170) 2023-08-11 17:10:10 +02:00
egui-winit Change force to be Option<f32> instead of f32 (#3240) 2023-08-12 13:50:40 +02:00
egui_demo_app Update to wasm-bindgen 0.2.87 (#3237) 2023-08-11 15:34:16 +02:00
egui_demo_lib Draw axis labels and ticks outside of plotting window (#2284) 2023-08-14 17:51:17 +02:00
egui_extras Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
egui_glium Fix wrong detection of OS (#3238) 2023-08-12 13:50:31 +02:00
egui_glow Fix wrong detection of OS (#3238) 2023-08-12 13:50:31 +02:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
epaint Add option to truncate text at wrap width (#3244) 2023-08-14 11:22:04 +02:00