Skip to content

Interface: HistogramTraceCumulative ​

Cumulative histograms.

Properties ​

PropertyTypeDefault valueDescription
currentbin?"include" | "exclude" | "half""include"Whether a bar counts its own bin (include, a half-bin bias), not at all (exclude, the opposite bias) or half of it (half, no bias).
direction?"increasing" | "decreasing""increasing"increasing: sum the bins to the left (rising); decreasing: sum the bins to the right.
enabled?booleanfalseShow the cumulative distribution: each bar sums the bins before it. With a density norm it behaves like the norm without density (it rises to the total or to 1).

Released under the MIT License.