epezent / implot

Immediate Mode Plotting
MIT License
4.55k stars 503 forks source link

Feature request: flag to cap out of range values to max of axis #513

Closed flightlessmango closed 10 months ago

flightlessmango commented 10 months ago

In ImGui PlotLines will show out of range values as the maximum of the axis.

Example with implot

image

Example with imgui plotlines

image

flightlessmango commented 10 months ago

After further research it appears this can be easily achieved using a custom scale