Synced
ImGuiWidget.Trend
Section titled “ImGuiWidget.Trend”
- Draws a bounded line plot from borrowed numeric samples without copying their buffer.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public void Inno.Editor.ImGui.ImGuiWidget.ImGuiWidget.Trend(string label, System.ReadOnlySpan<float> values, int offset = 0)Parameters
Section titled “Parameters”Parameter label: The visible plot title and stable item identifier in its current owner.
Parameter values: Finite samples borrowed only for this call; an empty span draws an empty plot.
Parameter offset: The first chronological sample in a circular buffer, or zero for empty input.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: The label is empty or a sample is not finite.
Exception T:System.ArgumentOutOfRangeException: The offset is outside the supplied sample span.
Exception T:System.InvalidOperationException: No matching owner-thread drawing session is active.