When sample points are outside plot area, x values are saturated to plot at least one rectangle; the problem is that ImRect::Contains the upper-left corners are checked with >= and the lower-right are checked with <, so in order to include there must be at least 1 pixel difference https://github.com/ocornut/imgui/issues/3976
When sample points are outside plot area, x values are saturated to plot at least one rectangle; the problem is that ImRect::Contains the upper-left corners are checked with >= and the lower-right are checked with <, so in order to include there must be at least 1 pixel difference https://github.com/ocornut/imgui/issues/3976