As the title says. I was trying to plot some text annotations on a plot, without having the x- and y-axis extents increasing to fit the text. However, PlotText does not honour the new ImPlotItemFlags_NoFit flag, and updates the x and y extents anyway.
However, I was able to get it working with these 2 minor changes:
As the title says. I was trying to plot some text annotations on a plot, without having the x- and y-axis extents increasing to fit the text. However,
PlotText
does not honour the newImPlotItemFlags_NoFit
flag, and updates the x and y extents anyway.However, I was able to get it working with these 2 minor changes: