emilk / egui_plot

2D plotting library in Rust for egui
Apache License 2.0
95 stars 31 forks source link

custom data for hover label #49

Open FabianLippoldZR opened 1 month ago

FabianLippoldZR commented 1 month ago

Is your feature request related to a problem? Please describe. Currently there is no way to attach custom data to plot points, e.g. for use in the hover label.

Describe the solution you'd like I would like an easy way to use custom data for points in the label_formatter;

Describe alternatives you've considered

Additional context Current use case is to show a "validity" field for each point on hover