Skip to content

arlas-d3 > "histograms/swimlanes/SwimlaneBars" > SwimlaneBars

Class: SwimlaneBars

Hierarchy

AbstractSwimlane

↳ SwimlaneBars

Index

Constructors

Properties

Methods

Object literals


Constructors

constructor

new SwimlaneBars(): SwimlaneBars

Inherited from AbstractHistogram.constructor

Defined in histograms/AbstractHistogram.ts:75

Returns: SwimlaneBars


Properties

<Protected> aBucketIsEncountred

● aBucketIsEncountred: boolean = false

Inherited from AbstractSwimlane.aBucketIsEncountred

Defined in histograms/swimlanes/AbstractSwimlane.ts:37


<Protected> allAxesContext

● allAxesContext: any

Inherited from AbstractHistogram.allAxesContext

Defined in histograms/AbstractHistogram.ts:41


<Protected> barsContext

● barsContext: any

Inherited from AbstractHistogram.barsContext

Defined in histograms/AbstractHistogram.ts:38


<Protected> brushContext

● brushContext: any

Inherited from AbstractHistogram.brushContext

Defined in histograms/AbstractHistogram.ts:40


brushCornerTooltips

● brushCornerTooltips: BrushCornerTooltips

Inherited from AbstractHistogram.brushCornerTooltips

Defined in histograms/AbstractHistogram.ts:32


<Protected> brushHandles

● brushHandles: any

Inherited from AbstractHistogram.brushHandles

Defined in histograms/AbstractHistogram.ts:56


<Protected> brushHandlesHeight

● brushHandlesHeight: number = null

Inherited from AbstractHistogram.brushHandlesHeight

Defined in histograms/AbstractHistogram.ts:55


<Protected> chartDimensions

● chartDimensions: ChartDimensions

Inherited from AbstractHistogram.chartDimensions

Defined in histograms/AbstractHistogram.ts:44

Chart dimensions


<Protected> context

● context: any

Inherited from AbstractHistogram.context

Defined in histograms/AbstractHistogram.ts:37

Contexts


<Protected> dataDomain

● dataDomain: Array<object>

Inherited from AbstractHistogram.dataDomain

Defined in histograms/AbstractHistogram.ts:49

Data


<Protected> dataInterval

● dataInterval: number

Inherited from AbstractHistogram.dataInterval

Defined in histograms/AbstractHistogram.ts:50


<Protected> fromSetInterval

● fromSetInterval: boolean = false

Inherited from AbstractHistogram.fromSetInterval

Defined in histograms/AbstractHistogram.ts:61


<Protected> hasSelectionExceededData

● hasSelectionExceededData: any = null

Inherited from AbstractHistogram.hasSelectionExceededData

Defined in histograms/AbstractHistogram.ts:59


histogramParams

● histogramParams: HistogramParams

Inherited from AbstractHistogram.histogramParams

Defined in histograms/AbstractHistogram.ts:31


<Protected> hoveredBucketKey

● hoveredBucketKey: Date | number

Inherited from AbstractHistogram.hoveredBucketKey

Defined in histograms/AbstractHistogram.ts:71


<Protected> isBrushed

● isBrushed: boolean = false

Inherited from AbstractHistogram.isBrushed

Defined in histograms/AbstractHistogram.ts:57


isBrushing

● isBrushing: boolean = false

Inherited from AbstractHistogram.isBrushing

Defined in histograms/AbstractHistogram.ts:34


<Protected> isHeightFixed

● isHeightFixed: boolean = false

Inherited from AbstractHistogram.isHeightFixed

Defined in histograms/AbstractHistogram.ts:46


<Protected> isSwimlaneHeightFixed

● isSwimlaneHeightFixed: boolean = false

Inherited from AbstractSwimlane.isSwimlaneHeightFixed

Defined in histograms/swimlanes/AbstractSwimlane.ts:32


<Protected> isWidthFixed

● isWidthFixed: boolean = false

Inherited from AbstractHistogram.isWidthFixed

Defined in histograms/AbstractHistogram.ts:45


<Protected> labelsContext

● labelsContext: any

Inherited from AbstractSwimlane.labelsContext

Defined in histograms/swimlanes/AbstractSwimlane.ts:36


<Protected> labelsContextList

● labelsContextList: object[] = new Array<{name: string, context: any}>()

Inherited from AbstractSwimlane.labelsContextList

Defined in histograms/swimlanes/AbstractSwimlane.ts:39


<Protected> labelsRectContextList

● labelsRectContextList: object[] = new Array<{name: string, context: any}>()

Inherited from AbstractSwimlane.labelsRectContextList

Defined in histograms/swimlanes/AbstractSwimlane.ts:40


<Protected> minusSign

● minusSign: number = 1

Inherited from AbstractHistogram.minusSign

Defined in histograms/AbstractHistogram.ts:75


<Protected> nbSwimlanes

● nbSwimlanes: number

Inherited from AbstractSwimlane.nbSwimlanes

Defined in histograms/swimlanes/AbstractSwimlane.ts:30


<Protected> noDatabarsContext

● noDatabarsContext: any

Inherited from AbstractHistogram.noDatabarsContext

Defined in histograms/AbstractHistogram.ts:39


<Protected> plottingCount

● plottingCount: number = 0

Inherited from AbstractHistogram.plottingCount

Defined in histograms/AbstractHistogram.ts:74


<Protected> selectedBars

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

Inherited from AbstractHistogram.selectedBars

Defined in histograms/AbstractHistogram.ts:60


<Protected> selectionBrush

● selectionBrush: BrushBehavior<any>

Inherited from AbstractHistogram.selectionBrush

Defined in histograms/AbstractHistogram.ts:53

Brush selection


<Protected> swimlaneAxes

● swimlaneAxes: SwimlaneAxes

Inherited from AbstractSwimlane.swimlaneAxes

Defined in histograms/swimlanes/AbstractSwimlane.ts:28


<Protected> swimlaneBarsWeight

● swimlaneBarsWeight: any

Inherited from AbstractSwimlane.swimlaneBarsWeight

Defined in histograms/swimlanes/AbstractSwimlane.ts:38


<Protected> swimlaneContextList

● swimlaneContextList: object[] = new Array<{name: string, context: any}>()

Inherited from AbstractSwimlane.swimlaneContextList

Defined in histograms/swimlanes/AbstractSwimlane.ts:34


<Protected> swimlaneHasMoreThanTwoBuckets

● swimlaneHasMoreThanTwoBuckets: boolean = false

Inherited from AbstractSwimlane.swimlaneHasMoreThanTwoBuckets

Defined in histograms/swimlanes/AbstractSwimlane.ts:33


<Protected> swimlaneIntervalBorders

● swimlaneIntervalBorders: [number | Date, number | Date]

Inherited from AbstractSwimlane.swimlaneIntervalBorders

Defined in histograms/swimlanes/AbstractSwimlane.ts:31


<Protected> swimlaneMaxValue

● swimlaneMaxValue: number = null

Inherited from AbstractSwimlane.swimlaneMaxValue

Defined in histograms/swimlanes/AbstractSwimlane.ts:29


<Protected> verticalTooltipLine

● verticalTooltipLine: any

Inherited from AbstractSwimlane.verticalTooltipLine

Defined in histograms/swimlanes/AbstractSwimlane.ts:35


<Protected> xAxis

● xAxis: any

Inherited from AbstractHistogram.xAxis

Defined in histograms/AbstractHistogram.ts:66


<Protected> xLabelsAxis

● xLabelsAxis: any

Inherited from AbstractHistogram.xLabelsAxis

Defined in histograms/AbstractHistogram.ts:65


<Protected> xTicksAxis

● xTicksAxis: any

Inherited from AbstractHistogram.xTicksAxis

Defined in histograms/AbstractHistogram.ts:64

Axes && ticks


<Protected> yAxis

● yAxis: any

Inherited from AbstractHistogram.yAxis

Defined in histograms/AbstractHistogram.ts:67


<Protected> yDimension

● yDimension: number = 1

Inherited from AbstractHistogram.yDimension

Defined in histograms/AbstractHistogram.ts:73


<Protected> yLabelsAxis

● yLabelsAxis: any

Inherited from AbstractHistogram.yLabelsAxis

Defined in histograms/AbstractHistogram.ts:69


<Protected> yTicksAxis

● yTicksAxis: any

Inherited from AbstractHistogram.yTicksAxis

Defined in histograms/AbstractHistogram.ts:68


Methods

<Protected> addLabels

addLabels(swimlanesMapData: Map<string, Array<HistogramData>>): void

Inherited from AbstractSwimlane.addLabels

Defined in histograms/swimlanes/AbstractSwimlane.ts:354

Parameters:

Name Type
swimlanesMapData Map<string, Array<HistogramData>>

Returns: void


<Protected> applyHoverStyleOnSwimlaneLabels

applyHoverStyleOnSwimlaneLabels(labelRectContext: object): void

Inherited from AbstractSwimlane.applyHoverStyleOnSwimlaneLabels

Defined in histograms/swimlanes/AbstractSwimlane.ts:131

Parameters:

labelRectContext: object

Name Type
context any
name string

Returns: void


applyStyleOnSwimlanes

applyStyleOnSwimlanes(): void

Inherited from AbstractSwimlane.applyStyleOnSwimlanes

Defined in histograms/swimlanes/AbstractSwimlane.ts:106

Returns: void


<Protected> createSwimlaneAxes

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

Inherited from AbstractSwimlane.createSwimlaneAxes

Defined in histograms/swimlanes/AbstractSwimlane.ts:189

Parameters:

Name Type
data Map<string, Array<HistogramData>>

Returns: void


<Protected> drawChartAxes

drawChartAxes(swimlaneAxes: SwimlaneAxes): void

Inherited from AbstractSwimlane.drawChartAxes

Overrides AbstractHistogram.drawChartAxes

Defined in histograms/swimlanes/AbstractSwimlane.ts:250

Parameters:

Name Type
swimlaneAxes SwimlaneAxes

Returns: void


<Protected> drawLineSeparators

drawLineSeparators(): void

Inherited from AbstractSwimlane.drawLineSeparators

Defined in histograms/swimlanes/AbstractSwimlane.ts:256

Returns: void


<Protected> getAxes

getAxes(): SwimlaneAxes

Inherited from AbstractSwimlane.getAxes

Overrides AbstractHistogram.getAxes

Defined in histograms/swimlanes/AbstractSwimlane.ts:496

Returns: SwimlaneAxes


<Protected> getDataInterval

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

Inherited from AbstractSwimlane.getDataInterval

Overrides AbstractHistogram.getDataInterval

Defined in histograms/swimlanes/AbstractSwimlane.ts:403

Parameters:

Name Type
swimlaneData Map<string, Array<HistogramData>>

Returns: number


<Protected> getFollowingLastBucket

getFollowingLastBucket(data: any): HistogramData

Inherited from AbstractHistogram.getFollowingLastBucket

Defined in histograms/AbstractHistogram.ts:164

Parameters:

Name Type
data any

Returns: HistogramData


<Protected> getHistogramDataInterval

getHistogramDataInterval(data: Array<HistogramData>): number

Inherited from AbstractHistogram.getHistogramDataInterval

Defined in histograms/AbstractHistogram.ts:327

Parameters:

Name Type
data Array<HistogramData>

Returns: number


<Protected> getHistogramMinMaxBorders

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

Inherited from AbstractSwimlane.getHistogramMinMaxBorders

Overrides AbstractHistogram.getHistogramMinMaxBorders

Defined in histograms/swimlanes/AbstractSwimlane.ts:492

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>

Inherited from AbstractHistogram.getXDomainExtent

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

Inherited from AbstractHistogram.getXDomainScale

Defined in histograms/AbstractHistogram.ts:153

Returns: any


<Protected> initializeChartDimensions

initializeChartDimensions(): void

Inherited from AbstractSwimlane.initializeChartDimensions

Overrides AbstractHistogram.initializeChartDimensions

Defined in histograms/swimlanes/AbstractSwimlane.ts:159

Returns: void


<Protected> initializeChartHeight

initializeChartHeight(): void

Inherited from AbstractHistogram.initializeChartHeight

Defined in histograms/AbstractHistogram.ts:145

Returns: void


<Protected> initializeDescriptionValues

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

Inherited from AbstractHistogram.initializeDescriptionValues

Defined in histograms/AbstractHistogram.ts:122

Parameters:

Name Type
start Date
end Date

Returns: void


<Protected> isValueValid

isValueValid(bucket: HistogramData): boolean

Inherited from AbstractHistogram.isValueValid

Defined in histograms/AbstractHistogram.ts:254

Parameters:

Name Type
bucket HistogramData

Returns: boolean


plot

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

Inherited from AbstractSwimlane.plot

Overrides AbstractHistogram.plot

Defined in histograms/swimlanes/AbstractSwimlane.ts:42

Parameters:

Name Type
inputData Map<string, Array<object>>

Returns: void


<Protected> plotBars

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

Inherited from AbstractHistogram.plotBars

Defined in histograms/AbstractHistogram.ts:238

Parameters:

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

Returns: void


<Protected> plotOneLane

plotOneLane(data: Array<HistogramData>, indexOfLane: any): void

Overrides AbstractSwimlane.plotOneLane

Defined in histograms/swimlanes/SwimlaneBars.ts:25

Parameters:

Name Type
data Array<HistogramData>
indexOfLane any

Returns: void


<Protected> plotSwimlane

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

Inherited from AbstractSwimlane.plotSwimlane

Defined in histograms/swimlanes/AbstractSwimlane.ts:143

Parameters:

Name Type
data Map<string, Array<HistogramData>>

Returns: void


resize

resize(histogramContainer: HTMLElement): void

Inherited from AbstractSwimlane.resize

Overrides AbstractHistogram.resize

Defined in histograms/swimlanes/AbstractSwimlane.ts:67

Parameters:

Name Type
histogramContainer HTMLElement

Returns: void


<Protected> setBrushCornerTooltipsPositions

setBrushCornerTooltipsPositions(): void

Inherited from AbstractHistogram.setBrushCornerTooltipsPositions

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

Inherited from AbstractHistogram.setBrushHorizontalTooltipsXPositions

Defined in histograms/AbstractHistogram.ts:313

Parameters:

Name Type
leftPosition number
rightPosition number

Returns: void


<Protected> setBrushHorizontalTooltipsYPositions

setBrushHorizontalTooltipsYPositions(): void

Inherited from AbstractHistogram.setBrushHorizontalTooltipsYPositions

Defined in histograms/AbstractHistogram.ts:318

Returns: void


<Protected> setBrushVerticalTooltipsXPositions

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

Inherited from AbstractHistogram.setBrushVerticalTooltipsXPositions

Defined in histograms/AbstractHistogram.ts:299

Parameters:

Name Type
leftPosition number
rightPosition number

Returns: void


<Protected> setBrushVerticalTooltipsYPositions

setBrushVerticalTooltipsYPositions(): void

Inherited from AbstractHistogram.setBrushVerticalTooltipsYPositions

Defined in histograms/AbstractHistogram.ts:304

Returns: void


<Protected> setDataInterval

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

Inherited from AbstractSwimlane.setDataInterval

Overrides AbstractHistogram.setDataInterval

Defined in histograms/swimlanes/AbstractSwimlane.ts:400

Parameters:

Name Type
swimlaneData Map<string, Array<HistogramData>>

Returns: void


setHTMLElementsOfBrushCornerTooltips

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

Inherited from AbstractHistogram.setHTMLElementsOfBrushCornerTooltips

Defined in histograms/AbstractHistogram.ts:93

initialize a new BrushCornerTooltips object

Parameters:

Name Type
rightHTMLElement HTMLElement
leftHTMLElement any

Returns: void


<Protected> setHistogramMargins

setHistogramMargins(): void

Inherited from AbstractHistogram.setHistogramMargins

Defined in histograms/AbstractHistogram.ts:101

Returns: void


<Protected> setSelectedSwimlanes

setSelectedSwimlanes(labelContext: object): void

Inherited from AbstractSwimlane.setSelectedSwimlanes

Defined in histograms/swimlanes/AbstractSwimlane.ts:445

Parameters:

labelContext: object

Name Type
context any
name string

Returns: void


<Protected> setSwimlaneDataInterval

setSwimlaneDataInterval(swimlaneData: Map<string, Array<HistogramData>>): void

Inherited from AbstractSwimlane.setSwimlaneDataInterval

Defined in histograms/swimlanes/AbstractSwimlane.ts:396

Parameters:

Name Type
swimlaneData Map<string, Array<HistogramData>>

Returns: void


<Protected> setSwimlaneMaxValue

setSwimlaneMaxValue(swimlaneDataMap: Map<string, Array<object>>): void

Inherited from AbstractSwimlane.setSwimlaneMaxValue

Defined in histograms/swimlanes/AbstractSwimlane.ts:458

Parameters:

Name Type
swimlaneDataMap Map<string, Array<object>>

Returns: void


<Protected> setSwimlaneMinMaxBorders

setSwimlaneMinMaxBorders(swimlanesMapData: Map<string, Array<HistogramData>>): void

Inherited from AbstractSwimlane.setSwimlaneMinMaxBorders

Defined in histograms/swimlanes/AbstractSwimlane.ts:472

Parameters:

Name Type
swimlanesMapData Map<string, Array<HistogramData>>

Returns: void


<Protected> setTooltipPositionForSwimlane

setTooltipPositionForSwimlane(data: Array<HistogramData>, key: string, indexOfKey: number, numberOfSwimlane: number, container: ContainerElement): void

Inherited from AbstractSwimlane.setTooltipPositionForSwimlane

Defined in histograms/swimlanes/AbstractSwimlane.ts:302

Parameters:

Name Type
data Array<HistogramData>
key string
indexOfKey number
numberOfSwimlane number
container ContainerElement

Returns: void


<Protected> setTooltipXposition

setTooltipXposition(xPosition: number, tooltip: Tooltip): number

Inherited from AbstractSwimlane.setTooltipXposition

Defined in histograms/swimlanes/AbstractSwimlane.ts:338

Parameters:

Name Type
xPosition number
tooltip Tooltip

Returns: number


<Protected> setTooltipYposition

setTooltipYposition(yPosition: number): number

Inherited from AbstractSwimlane.setTooltipYposition

Defined in histograms/swimlanes/AbstractSwimlane.ts:350

Parameters:

Name Type
yPosition number

Returns: number


<Protected> setVerticalTooltipsWidth

setVerticalTooltipsWidth(): void

Inherited from AbstractHistogram.setVerticalTooltipsWidth

Defined in histograms/AbstractHistogram.ts:295

Returns: void


<Protected> showTooltipsForSwimlane

showTooltipsForSwimlane(swimlaneMapData: Map<string, Array<HistogramData>>): void

Inherited from AbstractSwimlane.showTooltipsForSwimlane

Defined in histograms/swimlanes/AbstractSwimlane.ts:265

Parameters:

Name Type
swimlaneMapData Map<string, Array<HistogramData>>

Returns: void


truncateLabels

truncateLabels(): void

Inherited from AbstractSwimlane.truncateLabels

Defined in histograms/swimlanes/AbstractSwimlane.ts:90

Returns: void


Object literals

<Protected> selectionInterval

selectionInterval: object

Inherited from AbstractHistogram.selectionInterval

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