arlas-d3 > "histograms/AbstractHistogram" > AbstractHistogram
Class: AbstractHistogram
Hierarchy
AbstractHistogram
Index
Constructors
Properties
- allAxesContext
- barsContext
- brushContext
- brushCornerTooltips
- brushHandles
- brushHandlesHeight
- chartDimensions
- context
- dataDomain
- dataInterval
- fromSetInterval
- hasSelectionExceededData
- histogramParams
- hoveredBucketKey
- isBrushed
- isBrushing
- isHeightFixed
- isWidthFixed
- minusSign
- noDatabarsContext
- plottingCount
- selectedBars
- selectionBrush
- tooltipCursorContext
- xAxis
- xLabelsAxis
- xTicksAxis
- yDimension
Methods
- clearTooltipCursor
- drawChartAxes
- getAxes
- getDataInterval
- getFollowingLastBucket
- getHistogramDataInterval
- getHistogramMinMaxBorders
- getXDomainExtent
- getXDomainScale
- init
- initializeChartDimensions
- initializeChartHeight
- initializeDescriptionValues
- isValueValid
- plot
- plotBars
- resize
- setBrushCornerTooltipsPositions
- setBrushHorizontalTooltipsXPositions
- setBrushHorizontalTooltipsYPositions
- setBrushVerticalTooltipsXPositions
- setBrushVerticalTooltipsYPositions
- setDataInterval
- setHTMLElementsOfBrushCornerTooltips
- setHistogramMargins
- setVerticalTooltipsWidth
Object literals
Constructors
constructor
⊕ new AbstractHistogram(): AbstractHistogram
Defined in histograms/AbstractHistogram.ts:74
Returns: AbstractHistogram
Properties
<Protected>
allAxesContext
● allAxesContext: any
Defined in histograms/AbstractHistogram.ts:42
<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:57
<Protected>
brushHandlesHeight
● brushHandlesHeight: number
= null
Defined in histograms/AbstractHistogram.ts:56
<Protected>
chartDimensions
● chartDimensions: ChartDimensions
Defined in histograms/AbstractHistogram.ts:45
<Protected>
context
● context: any
Defined in histograms/AbstractHistogram.ts:37
<Protected>
dataDomain
● dataDomain: Array
<HistogramData>
Defined in histograms/AbstractHistogram.ts:50
<Protected>
dataInterval
● dataInterval: number
Defined in histograms/AbstractHistogram.ts:51
<Protected>
fromSetInterval
● fromSetInterval: boolean
= false
Defined in histograms/AbstractHistogram.ts:62
<Protected>
hasSelectionExceededData
● hasSelectionExceededData: any
= null
Defined in histograms/AbstractHistogram.ts:60
histogramParams
● histogramParams: HistogramParams
Defined in histograms/AbstractHistogram.ts:31
<Protected>
hoveredBucketKey
● hoveredBucketKey: Date
| number
Defined in histograms/AbstractHistogram.ts:70
<Protected>
isBrushed
● isBrushed: boolean
= false
Defined in histograms/AbstractHistogram.ts:58
isBrushing
● isBrushing: boolean
= false
Defined in histograms/AbstractHistogram.ts:34
<Protected>
isHeightFixed
● isHeightFixed: boolean
= false
Defined in histograms/AbstractHistogram.ts:47
<Protected>
isWidthFixed
● isWidthFixed: boolean
= false
Defined in histograms/AbstractHistogram.ts:46
<Protected>
minusSign
● minusSign: number
= 1
Defined in histograms/AbstractHistogram.ts:74
<Protected>
noDatabarsContext
● noDatabarsContext: any
Defined in histograms/AbstractHistogram.ts:39
<Protected>
plottingCount
● plottingCount: number
= 0
Defined in histograms/AbstractHistogram.ts:73
<Protected>
selectedBars
● selectedBars: Set
<number
> = new Set
Defined in histograms/AbstractHistogram.ts:61
<Protected>
selectionBrush
● selectionBrush: BrushBehavior
<any
>
Defined in histograms/AbstractHistogram.ts:54
<Protected>
tooltipCursorContext
● tooltipCursorContext: any
Defined in histograms/AbstractHistogram.ts:41
<Protected>
xAxis
● xAxis: any
Defined in histograms/AbstractHistogram.ts:67
<Protected>
xLabelsAxis
● xLabelsAxis: any
Defined in histograms/AbstractHistogram.ts:66
<Protected>
xTicksAxis
● xTicksAxis: any
Defined in histograms/AbstractHistogram.ts:65
<Protected>
yDimension
● yDimension: number
= 1
Defined in histograms/AbstractHistogram.ts:72
Methods
<Protected>
clearTooltipCursor
▸ clearTooltipCursor(): void
Defined in histograms/AbstractHistogram.ts:218
Returns: void
<Protected>
drawChartAxes
▸ drawChartAxes(chartAxes: ChartAxes | SwimlaneAxes, leftOffset: number
): void
Defined in histograms/AbstractHistogram.ts:220
Parameters:
Name | Type |
---|---|
chartAxes | ChartAxes |
leftOffset | number |
Returns: void
<Protected>``<Abstract>
getAxes
▸ getAxes(): ChartAxes | SwimlaneAxes
Defined in histograms/AbstractHistogram.ts:386
Returns: ChartAxes | SwimlaneAxes
<Protected>``<Abstract>
getDataInterval
▸ getDataInterval(data: Array
<HistogramData> | Map
<string
, Array
<HistogramData>>): number
Defined in histograms/AbstractHistogram.ts:385
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:358
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:183
Parameters:
Name | Type |
---|---|
data | Array <HistogramData> |
selectedStartValue | Date |
selectedEndValue | Date |
Returns: Array
<Date
| number
| object
>
<Protected>
getXDomainScale
▸ getXDomainScale(): any
Defined in histograms/AbstractHistogram.ts:151
Returns: any
init
▸ init(): void
Defined in histograms/AbstractHistogram.ts:82
Returns: void
<Protected>
initializeChartDimensions
▸ initializeChartDimensions(): void
Defined in histograms/AbstractHistogram.ts:134
Returns: void
<Protected>
initializeChartHeight
▸ initializeChartHeight(): void
Defined in histograms/AbstractHistogram.ts:143
Returns: void
<Protected>
initializeDescriptionValues
▸ initializeDescriptionValues(start: Date
| number
, end: Date
| number
, dataInterval: number
): void
Defined in histograms/AbstractHistogram.ts:125
Parameters:
Name | Type |
---|---|
start | Date |
end | Date |
dataInterval | number |
Returns: void
<Protected>
isValueValid
▸ isValueValid(bucket: HistogramData): boolean
Defined in histograms/AbstractHistogram.ts:285
Parameters:
Name | Type |
---|---|
bucket | HistogramData |
Returns: boolean
plot
▸ plot(data: Array
<HistogramData> | SwimlaneData): void
Defined in histograms/AbstractHistogram.ts:80
Parameters:
Name | Type |
---|---|
data | Array <HistogramData> |
Returns: void
<Protected>
plotBars
▸ plotBars(data: Array
<HistogramData>, axes: ChartAxes | SwimlaneAxes, xDataDomain: any
, barWeight?: number
): void
Defined in histograms/AbstractHistogram.ts:270
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:91
Parameters:
Name | Type |
---|---|
histogramContainer | HTMLElement |
Returns: void
<Protected>
setBrushCornerTooltipsPositions
▸ setBrushCornerTooltipsPositions(): void
Defined in histograms/AbstractHistogram.ts:292
Returns: void
<Protected>
setBrushHorizontalTooltipsXPositions
▸ setBrushHorizontalTooltipsXPositions(leftPosition: number
, rightPosition: number
): void
Defined in histograms/AbstractHistogram.ts:344
Parameters:
Name | Type |
---|---|
leftPosition | number |
rightPosition | number |
Returns: void
<Protected>
setBrushHorizontalTooltipsYPositions
▸ setBrushHorizontalTooltipsYPositions(): void
Defined in histograms/AbstractHistogram.ts:349
Returns: void
<Protected>
setBrushVerticalTooltipsXPositions
▸ setBrushVerticalTooltipsXPositions(leftPosition: number
, rightPosition: number
): void
Defined in histograms/AbstractHistogram.ts:330
Parameters:
Name | Type |
---|---|
leftPosition | number |
rightPosition | number |
Returns: void
<Protected>
setBrushVerticalTooltipsYPositions
▸ setBrushVerticalTooltipsYPositions(): void
Defined in histograms/AbstractHistogram.ts:335
Returns: void
<Protected>``<Abstract>
setDataInterval
▸ setDataInterval(data: Array
<HistogramData> | Map
<string
, Array
<HistogramData>>): void
Defined in histograms/AbstractHistogram.ts:384
Parameters:
Name | Type |
---|---|
data | Array <HistogramData> |
Returns: void
setHTMLElementsOfBrushCornerTooltips
▸ setHTMLElementsOfBrushCornerTooltips(rightHTMLElement: HTMLElement
, leftHTMLElement: any
): void
Defined in histograms/AbstractHistogram.ts:96
Parameters:
Name | Type |
---|---|
rightHTMLElement | HTMLElement |
leftHTMLElement | any |
Returns: void
<Protected>
setHistogramMargins
▸ setHistogramMargins(): void
Defined in histograms/AbstractHistogram.ts:104
Returns: void
<Protected>
setVerticalTooltipsWidth
▸ setVerticalTooltipsWidth(): void
Defined in histograms/AbstractHistogram.ts:326
Returns: void
Object literals
<Protected>
selectionInterval
selectionInterval: object
Defined in histograms/AbstractHistogram.ts:55
endvalue
● endvalue: null
= null
Defined in histograms/AbstractHistogram.ts:55
startvalue
● startvalue: null
= null
Defined in histograms/AbstractHistogram.ts:55