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.
Full diff at https://github.com/emilk/egui_plot/compare/0.32.0..HEAD
Full diff at https://github.com/emilk/egui_plot/compare/0.31.0..HEAD
PlotResponse::hovered_plot_itemalso set when hovering the legend #81 by @Wumpf- Plot items now require an id #82 by @Wumpf
- Fix include_{xy} issue when auto bounds is off #74 by @joaofl
- Provide new functions to specify the default bounds #90 by @irevoire
Full diff at https://github.com/emilk/egui_plot/compare/0.30.0..HEAD
- Allow borrowing plot points via
PlotPoints::Borrowed#64 by @mo8it and @bircni - Add
insertion_orderandcolor_conflict_handlingtoLegend#65 by @Zoxc and @bircni - Allow Plot::link_cursor to accept
impl Into<Vec2b>#66 by @jetuk - Axis: fix label thickness #68 by @jordens
- Update to egui 0.31.0 #72 by @Wumpf
- Update MSRV to Rust 1.81 #69 by @emilk
Full diff at https://github.com/emilk/egui_plot/compare/0.29.0..HEAD
- Update to egui
0.30.0, MSRV to 1.80 #59 by @bircni - Allow setting a line's fill area's alpha channel #34 by @maxded
- Use
Vec2bin parameters #43 by @bircni - Fix axis thickness for multiple X or Y axes #60 by @raymanfx
- Fix axis labels overlap with axis ticks #57 by @mkalte666
- Add
PlotUi::add_item(Box<dyn PlotItem>)#51 by @freeformstu - Implement custom ruler color for Plot #47 by @gweisert
Nothing new
Plot::Items:allow_hovergive possibility to masked the interaction on hovered item #2558 by @haricot- Expose
ClosestElemandPlotConfig#4380 by @rmburg - Introduce lifetime to
egui_plot::Plotto replace'staticfields #4435 by @Fabus1184 - Plot now respects the
interact_radiusset 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
ScrollAreaandPlotwhen UI is disabled #4457 by @varphone - Make sure plot size is positive #4429 by @rustbasic
- Use
f64for 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
senseoption 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
PlotGeometryin public API #4193 (thanks @dwuertz!)
- Nothing new
- Nothing new
- Make
egui_plot::PlotMemorypublic #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
rayonfeature #3934 - Make
egui_plot::PlotItema 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
Plotprogrammatically #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_boundstoPlotUi#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_sizeof 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!)