Interface XHistogramOptions

interface XHistogramOptions {
    absolute?: boolean;
    centerX?: boolean;
    histogram?: DataXY<NumberArray>;
    logBaseX?: number;
    logBaseY?: number;
    max?: number;
    min?: number;
    nbSlots?: number;
}

Properties

absolute?: boolean

Take the absolute value

centerX?: boolean

Center the X value. We will enlarge the first and

Default

true
histogram?: DataXY<NumberArray>

Previously existing histogram to continue to fill

Default

{x:[],y:[]}
logBaseX?: number

We can first apply a log on x axis

logBaseY?: number

We can apply a log on the resulting histogram

max?: number

Maximal value to calculate used to calculate slot size

Default

maxValue
min?: number

Minimum value to calculate used to calculate slot size

Default

minValue
nbSlots?: number

Number of slots

Default

256