arlas-d3 > "histograms/utils/HistogramUtils"

External module: "histograms/utils/HistogramUtils"

Index

Enumerations

Classes

Interfaces

Variables

Functions

Object literals


Variables

<Const> CURRENTLY_SELECTED_BARS

● CURRENTLY_SELECTED_BARS: "histogram__chart--bar__currentselection" = "histogram__chart--bar__currentselection"

Defined in histograms/utils/HistogramUtils.ts:37


<Const> FULLY_SELECTED_BARS

● FULLY_SELECTED_BARS: "histogram__chart--bar__fullyselected" = "histogram__chart--bar__fullyselected"

Defined in histograms/utils/HistogramUtils.ts:36


<Const> NAN_COLOR

● NAN_COLOR: "#d8d8d8" = "#d8d8d8"

Defined in histograms/utils/HistogramUtils.ts:32


<Const> NUMBER_FORMAT_CHAR

● NUMBER_FORMAT_CHAR: "NUMBER_FORMAT_CHAR" = "NUMBER_FORMAT_CHAR"

Defined in histograms/utils/HistogramUtils.ts:547


<Const> PARTLY_SELECTED_BARS

● PARTLY_SELECTED_BARS: "histogram__chart--bar__partlyselected" = "histogram__chart--bar__partlyselected"

Defined in histograms/utils/HistogramUtils.ts:39


<Const> SELECTED_BARS_ZONE

● SELECTED_BARS_ZONE: "selected_bars_zone" = "selected_bars_zone"

Defined in histograms/utils/HistogramUtils.ts:41


<Const> TICK_COLOR

● TICK_COLOR: "#fff" = "#fff"

Defined in histograms/utils/HistogramUtils.ts:33


<Const> TICK_OPACITY

● TICK_OPACITY: 1 = 1

Defined in histograms/utils/HistogramUtils.ts:35


<Const> TICK_WIDTH

● TICK_WIDTH: 1.5 = 1.5

Defined in histograms/utils/HistogramUtils.ts:34


<Const> UNSELECTED_BARS

● UNSELECTED_BARS: "histogram__chart--bar" = "histogram__chart--bar"

Defined in histograms/utils/HistogramUtils.ts:38


<Const> UNSELECTED_BARS_ZONE

● UNSELECTED_BARS_ZONE: "unselected_bars_zone" = "unselected_bars_zone"

Defined in histograms/utils/HistogramUtils.ts:40


Functions

formatNumber

formatNumber(x: any, formatChar?: string, roundPrecision?: number): string

Defined in histograms/utils/HistogramUtils.ts:506

Parameters:

Name Type Default value
x any -
Default value formatChar string " "
Optional roundPrecision number -

Returns: string


getBarOptions

getBarOptions(barOptions: BarOptions): BarOptions

Defined in histograms/utils/HistogramUtils.ts:581

Parameters:

Name Type
barOptions BarOptions

Returns: BarOptions


roundToNearestMultiple

roundToNearestMultiple(i: any, multiple: any): number

Defined in histograms/utils/HistogramUtils.ts:483

Parameters:

Name Type
i any
multiple any

Returns: number


<Const> tickNumberFormat

tickNumberFormat(d: any, formatChar: any): string

Defined in histograms/utils/HistogramUtils.ts:549

Parameters:

Name Type
d any
formatChar any

Returns: string


Object literals

<Const> BAR_OPTIONS

BAR_OPTIONS: object

Defined in histograms/utils/HistogramUtils.ts:576

BACKGROUND_COLOR

● BACKGROUND_COLOR: string = "#FFF"

Defined in histograms/utils/HistogramUtils.ts:578


WEIGHT

● WEIGHT: number = 0.8

Defined in histograms/utils/HistogramUtils.ts:577



<Const> HEAD_BAR

HEAD_BAR: object

Defined in histograms/utils/HistogramUtils.ts:570

HEIGHT

● HEIGHT: number = 5

Defined in histograms/utils/HistogramUtils.ts:573


SELECTED_STYLE

● SELECTED_STYLE: Style

Defined in histograms/utils/HistogramUtils.ts:571


UNSELECTED_STYLE

● UNSELECTED_STYLE: Style

Defined in histograms/utils/HistogramUtils.ts:572



<Const> SELECTED_STYLE

SELECTED_STYLE: object

Defined in histograms/utils/HistogramUtils.ts:554

background_color

● background_color: string = "#FFF"

Defined in histograms/utils/HistogramUtils.ts:558


background_opacity

● background_opacity: number = 0.2

Defined in histograms/utils/HistogramUtils.ts:559


fill

● fill: string = "#5CCBC3"

Defined in histograms/utils/HistogramUtils.ts:555


stroke

● stroke: string = "#5CCBC3"

Defined in histograms/utils/HistogramUtils.ts:556


stroke_width

● stroke_width: number = 1

Defined in histograms/utils/HistogramUtils.ts:557



<Const> UNSELECTED_STYLE

UNSELECTED_STYLE: object

Defined in histograms/utils/HistogramUtils.ts:562

background_color

● background_color: string = "#FFF"

Defined in histograms/utils/HistogramUtils.ts:566


background_opacity

● background_opacity: number = 0

Defined in histograms/utils/HistogramUtils.ts:567


fill

● fill: string = "#DADADA"

Defined in histograms/utils/HistogramUtils.ts:563


stroke

● stroke: string = "#DADADA"

Defined in histograms/utils/HistogramUtils.ts:564


stroke_width

● stroke_width: number = 1

Defined in histograms/utils/HistogramUtils.ts:565