All notable changes to the egui_plot
integration will be noted in this file.
This file is updated upon each release.
Changes since the last release can be found at https://github.com/emilk/egui_plot/compare/latest...HEAD or by running the scripts/generate_changelog.py
script.
Nothing new
Plot::Items:allow_hover
give possibility to masked the interaction on hovered item #2558 by @haricot- Expose
ClosestElem
andPlotConfig
#4380 by @Narcha - Introduce lifetime to
egui_plot::Plot
to replace'static
fields #4435 by @Fabus1184 - Plot now respects the
interact_radius
set in the UI's style #4520 by @YgorSouza - Improve behavior of plot auto-bounds with reduced data #4632 by @abey79
- Improve default formatter of tick-marks #4738 by @emilk
- Disable interaction for
ScrollArea
andPlot
when UI is disabled #4457 by @varphone - Make sure plot size is positive #4429 by @rustbasic
- Use
f64
for translate #4637 by @Its-Just-Nans - Clamp plot zoom values to valid range #4695 by @Its-Just-Nans
- Fix plot bounds of empty plots #4741 by @emilk
- Allow zoom/pan a plot as long as it contains the mouse cursor #4292
- Prevent plot from resetting one axis while zooming/dragging the other #4252 (thanks @YgorSouza!)
- egui_plot: Fix the same plot tick label being painted multiple times #4307
- Nothing new
- Add
sense
option toPlot
#4052 (thanks @AmesingFlank!) - Plot widget - allow disabling scroll for x and y separately #4051 (thanks @YgorSouza!)
- Fix panic when the base step size is set to 0 #4078 (thanks @abey79!)
- Expose
PlotGeometry
in public API #4193 (thanks @dwuertz!)
- Nothing new
- Nothing new
- Make
egui_plot::PlotMemory
public #3871 - Customizable spacing of grid and axis label spacing #3896
- Change default plot line thickness from 1.0 to 1.5 #3918
- Automatically expand plot axes thickness to fit their labels #3921
- Plot items now have optional id which is returned in the plot's response when hovered #3920 (thanks @Wumpf!)
- Parallel tessellation with opt-in
rayon
feature #3934 - Make
egui_plot::PlotItem
a public trait #3943 - Fix clip rect for plot items #3955 (thanks @YgorSouza!)
- Fix plot auto-bounds unset by default #3722 (thanks @abey79!)
- Add methods to zoom a
Plot
programmatically #2714 (thanks @YgorSouza!) - Add a public API for overriding plot legend traces' visibilities #3534 (thanks @jayzhudev!)
- Add
emath::Vec2b
, replacingegui_plot::AxisBools
#3543 - Add
auto_bounds/set_auto_bounds
toPlotUi
#3587 #3586 (thanks @abey79!) - Update MSRV to Rust 1.72 #3595
- Draw axis labels and ticks outside of plotting window #2284 (thanks @JohannesProgrammiert!)
- Add
PlotUi::response()
to replaceplot_clicked()
etc #3223 - Add rotation feature to plot images #3121 (thanks @ThundR67!)
- Plot items: Image rotation and size in plot coordinates, polygon fill color #3182 (thanks @s-nie!)
- Add method to specify
tip_size
of plot arrows #3138 (thanks @nagua!) - Better handle additive colors in plots #3387
- Fix auto_bounds when only one axis has restricted navigation #3171 (thanks @KoffeinFlummi!)
- Fix plot formatter not taking closures #3260 (thanks @Wumpf!)