API reference
Preparing search index…

ImGui.PlotHistogram

  • Display numeric samples as vertical bars.

    Parameters

    label
    string | Uint8Array

    Widget label; interactive widgets also use it for ID generation. A ## suffix can distinguish IDs without displaying the suffix.

    values
    Float32Array

    Float32Array of plot samples, read from the supplied storage; values_count and stride must stay within that storage. Pass Float32Array storage, not a JS scalar; native access uses the supplied backing memory.

    values_count
    number

    Number of plot samples to read.

    Returns

    void

    Implied values_offset = 0, overlay_text = null, scale_min = 3.4028234663852886e+38, scale_max = 3.4028234663852886e+38, graph_size = { x: 0, y: 0 }, stride = Float32Array.BYTES_PER_ELEMENT

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0