Skip to content

arlas-d3 > "histograms/AbstractHistogram" > AbstractHistogram

Class: AbstractHistogram

Hierarchy

AbstractHistogram

AbstractChart

AbstractSwimlane

Index

Constructors

Properties

Methods

Object literals


Constructors

constructor

new AbstractHistogram(): AbstractHistogram

Defined in histograms/AbstractHistogram.ts:75

Returns: AbstractHistogram


Properties

<Protected> allAxesContext

● allAxesContext: any

Defined in histograms/AbstractHistogram.ts:41


<Protected> barsContext

● barsContext: any

Defined in histograms/AbstractHistogram.ts:38


<Protected> brushContext

● brushContext: any

Defined in histograms/AbstractHistogram.ts:40


brushCornerTooltips

● brushCornerTooltips: BrushCornerTooltips

Defined in histograms/AbstractHistogram.ts:32


<Protected> brushHandles

● brushHandles: any

Defined in histograms/AbstractHistogram.ts:56


<Protected> brushHandlesHeight

● brushHandlesHeight: number = null

Defined in histograms/AbstractHistogram.ts:55


<Protected> chartDimensions

● chartDimensions: ChartDimensions

Defined in histograms/AbstractHistogram.ts:44

Chart dimensions


<Protected> context

● context: any

Defined in histograms/AbstractHistogram.ts:37

Contexts


<Protected> dataDomain

● dataDomain: Array<object>

Defined in histograms/AbstractHistogram.ts:49

Data


<Protected> dataInterval

● dataInterval: number

Defined in histograms/AbstractHistogram.ts:50


<Protected> fromSetInterval

● fromSetInterval: boolean = false

Defined in histograms/AbstractHistogram.ts:61


<Protected> hasSelectionExceededData

● hasSelectionExceededData: any = null

Defined in histograms/AbstractHistogram.ts:59


histogramParams

● histogramParams: HistogramParams

Defined in histograms/AbstractHistogram.ts:31


<Protected> hoveredBucketKey

● hoveredBucketKey: Date | number

Defined in histograms/AbstractHistogram.ts:71


<Protected> isBrushed

● isBrushed: boolean = false

Defined in histograms/AbstractHistogram.ts:57


isBrushing

● isBrushing: boolean = false

Defined in histograms/AbstractHistogram.ts:34


<Protected> isHeightFixed

● isHeightFixed: boolean = false

Defined in histograms/AbstractHistogram.ts:46


<Protected> isWidthFixed

● isWidthFixed: boolean = false

Defined in histograms/AbstractHistogram.ts:45


<Protected> minusSign

● minusSign: number = 1

Defined in histograms/AbstractHistogram.ts:75


<Protected> noDatabarsContext

● noDatabarsContext: any

Defined in histograms/AbstractHistogram.ts:39


<Protected> plottingCount

● plottingCount: number = 0

Defined in histograms/AbstractHistogram.ts:74


<Protected> selectedBars

● selectedBars: Set<number> = new Set()

Defined in histograms/AbstractHistogram.ts:60


<Protected> selectionBrush

● selectionBrush: BrushBehavior<any>

Defined in histograms/AbstractHistogram.ts:53

Brush selection


<Protected> xAxis

● xAxis: any

Defined in histograms/AbstractHistogram.ts:66


<Protected> xLabelsAxis

● xLabelsAxis: any

Defined in histograms/AbstractHistogram.ts:65


<Protected> xTicksAxis

● xTicksAxis: any

Defined in histograms/AbstractHistogram.ts:64

Axes && ticks


<Protected> yAxis

● yAxis: any

Defined in histograms/AbstractHistogram.ts:67


<Protected> yDimension

● yDimension: number = 1

Defined in histograms/AbstractHistogram.ts:73


<Protected> yLabelsAxis

● yLabelsAxis: any

Defined in histograms/AbstractHistogram.ts:69


<Protected> yTicksAxis

● yTicksAxis: any

Defined in histograms/AbstractHistogram.ts:68


Methods

<Protected> drawChartAxes

drawChartAxes(chartAxes: ChartAxes | SwimlaneAxes, leftOffset: number): void

Defined in histograms/AbstractHistogram.ts:204

Parameters:

Name Type
chartAxes ChartAxes
leftOffset number

Returns: void


<Protected>``<Abstract> getAxes

getAxes(): ChartAxes | SwimlaneAxes

Defined in histograms/AbstractHistogram.ts:347

Returns: ChartAxes | SwimlaneAxes


<Protected>``<Abstract> getDataInterval

getDataInterval(data: Array<HistogramData> | Map<string, Array<HistogramData>>): number

Defined in histograms/AbstractHistogram.ts:346

Parameters:

Name Type
data Array<HistogramData>

Returns: number


<Protected> getFollowingLastBucket

getFollowingLastBucket(data: any): HistogramData

Defined in histograms/AbstractHistogram.ts:164

Parameters:

Name Type
data any

Returns: HistogramData


<Protected> getHistogramDataInterval

getHistogramDataInterval(data: Array<HistogramData>): number

Defined in histograms/AbstractHistogram.ts:327

Parameters:

Name Type
data Array<HistogramData>

Returns: number


<Protected> getHistogramMinMaxBorders

getHistogramMinMaxBorders(data: Array<HistogramData>): [number | Date, number | Date]

Defined in histograms/AbstractHistogram.ts:157

Parameters:

Name Type
data Array<HistogramData>

Returns: [number | Date, number | Date]


<Protected> getXDomainExtent

getXDomainExtent(data: Array<HistogramData>, selectedStartValue: Date | number, selectedEndValue: Date | number): Array<Date | number | object>

Defined in histograms/AbstractHistogram.ts:172

Parameters:

Name Type
data Array<HistogramData>
selectedStartValue Date
selectedEndValue Date

Returns: Array<Date | number | object>


<Protected> getXDomainScale

getXDomainScale(): any

Defined in histograms/AbstractHistogram.ts:153

Returns: any


<Protected> initializeChartDimensions

initializeChartDimensions(): void

Defined in histograms/AbstractHistogram.ts:136

Returns: void


<Protected> initializeChartHeight

initializeChartHeight(): void

Defined in histograms/AbstractHistogram.ts:145

Returns: void


<Protected> initializeDescriptionValues

initializeDescriptionValues(start: Date | number, end: Date | number): void

Defined in histograms/AbstractHistogram.ts:122

Parameters:

Name Type
start Date
end Date

Returns: void


<Protected> isValueValid

isValueValid(bucket: HistogramData): boolean

Defined in histograms/AbstractHistogram.ts:254

Parameters:

Name Type
bucket HistogramData

Returns: boolean


plot

plot(data: Array<object> | Map<string, Array<object>>): void

Defined in histograms/AbstractHistogram.ts:81

Parameters:

Name Type
data Array<object>

Returns: void


<Protected> plotBars

plotBars(data: Array<HistogramData>, axes: ChartAxes | SwimlaneAxes, xDataDomain: any, barWeight?: number): void

Defined in histograms/AbstractHistogram.ts:238

Parameters:

Name Type
data Array<HistogramData>
axes ChartAxes
xDataDomain any
Optional barWeight number

Returns: void


<Abstract> resize

resize(histogramContainer: HTMLElement): void

Defined in histograms/AbstractHistogram.ts:88

Parameters:

Name Type
histogramContainer HTMLElement

Returns: void


<Protected> setBrushCornerTooltipsPositions

setBrushCornerTooltipsPositions(): void

Defined in histograms/AbstractHistogram.ts:261

This method is called whenever the brush is being moved. It sets the positions the brush's left and right corner tooltips.

Returns: void


<Protected> setBrushHorizontalTooltipsXPositions

setBrushHorizontalTooltipsXPositions(leftPosition: number, rightPosition: number): void

Defined in histograms/AbstractHistogram.ts:313

Parameters:

Name Type
leftPosition number
rightPosition number

Returns: void


<Protected> setBrushHorizontalTooltipsYPositions

setBrushHorizontalTooltipsYPositions(): void

Defined in histograms/AbstractHistogram.ts:318

Returns: void


<Protected> setBrushVerticalTooltipsXPositions

setBrushVerticalTooltipsXPositions(leftPosition: number, rightPosition: number): void

Defined in histograms/AbstractHistogram.ts:299

Parameters:

Name Type
leftPosition number
rightPosition number

Returns: void


<Protected> setBrushVerticalTooltipsYPositions

setBrushVerticalTooltipsYPositions(): void

Defined in histograms/AbstractHistogram.ts:304

Returns: void


<Protected>``<Abstract> setDataInterval

setDataInterval(data: Array<HistogramData> | Map<string, Array<HistogramData>>): void

Defined in histograms/AbstractHistogram.ts:345

Parameters:

Name Type
data Array<HistogramData>

Returns: void


setHTMLElementsOfBrushCornerTooltips

setHTMLElementsOfBrushCornerTooltips(rightHTMLElement: HTMLElement, leftHTMLElement: any): void

Defined in histograms/AbstractHistogram.ts:93

initialize a new BrushCornerTooltips object

Parameters:

Name Type
rightHTMLElement HTMLElement
leftHTMLElement any

Returns: void


<Protected> setHistogramMargins

setHistogramMargins(): void

Defined in histograms/AbstractHistogram.ts:101

Returns: void


<Protected> setVerticalTooltipsWidth

setVerticalTooltipsWidth(): void

Defined in histograms/AbstractHistogram.ts:295

Returns: void


Object literals

<Protected> selectionInterval

selectionInterval: object

Defined in histograms/AbstractHistogram.ts:54

endvalue

● endvalue: null = null

Defined in histograms/AbstractHistogram.ts:54


startvalue

● startvalue: null = null

Defined in histograms/AbstractHistogram.ts:54