Skip to content

arlas-d3 > "histograms/charts/ChartOneDimension" > ChartOneDimension

Class: ChartOneDimension

Hierarchy

AbstractChart

↳ ChartOneDimension

Index

Constructors

Properties

Methods

Object literals


Constructors

constructor

new ChartOneDimension(): ChartOneDimension

Inherited from AbstractHistogram.constructor

Defined in histograms/AbstractHistogram.ts:75

Returns: ChartOneDimension


Properties

<Protected> NO_DATA_STRIPES_PATTERN

● NO_DATA_STRIPES_PATTERN: string = "M-1,1 l2,-2 M0,10 l10,-10 M9,11 l2,-2"

Inherited from AbstractChart.NO_DATA_STRIPES_PATTERN

Defined in histograms/charts/AbstractChart.ts:37


<Protected> NO_DATA_STRIPES_SIZE

● NO_DATA_STRIPES_SIZE: number = 10

Inherited from AbstractChart.NO_DATA_STRIPES_SIZE

Defined in histograms/charts/AbstractChart.ts:38


<Protected> START_Y_FROM_MIN_STRIPES_PATTERN

● START_Y_FROM_MIN_STRIPES_PATTERN: string = "M-1,1 l2,-2 M0,4 l4,-4 M3,5 l2,-2"

Inherited from AbstractChart.START_Y_FROM_MIN_STRIPES_PATTERN

Defined in histograms/charts/AbstractChart.ts:35


<Protected> START_Y_FROM_MIN_STRIPES_SIZE

● START_Y_FROM_MIN_STRIPES_SIZE: number = 4

Inherited from AbstractChart.START_Y_FROM_MIN_STRIPES_SIZE

Defined in histograms/charts/AbstractChart.ts:36


<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> chartAxes

● chartAxes: ChartAxes

Inherited from AbstractChart.chartAxes

Defined in histograms/charts/AbstractChart.ts:33


<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> isWidthFixed

● isWidthFixed: boolean = false

Inherited from AbstractHistogram.isWidthFixed

Defined in histograms/AbstractHistogram.ts:45


<Protected> minusSign

● minusSign: number = 1

Inherited from AbstractHistogram.minusSign

Defined in histograms/AbstractHistogram.ts:75


<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> 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> yStartsFromMin

● yStartsFromMin: boolean = false

Inherited from AbstractChart.yStartsFromMin

Defined in histograms/charts/AbstractChart.ts:34


<Protected> yTicksAxis

● yTicksAxis: any

Inherited from AbstractHistogram.yTicksAxis

Defined in histograms/AbstractHistogram.ts:68


Methods

<Protected> addSelectionBrush

addSelectionBrush(chartAxes: ChartAxes, leftOffset: number): void

Overrides AbstractChart.addSelectionBrush

Defined in histograms/charts/ChartOneDimension.ts:86

Parameters:

Name Type
chartAxes ChartAxes
leftOffset number

Returns: void


<Protected> addStrippedPattern

addStrippedPattern(id: string, pattern: string, size: number, cssClass: string): void

Inherited from AbstractChart.addStrippedPattern

Defined in histograms/charts/AbstractChart.ts:405

Parameters:

Name Type
id string
pattern string
size number
cssClass string

Returns: void


<Protected> applyFormatOnXticks

applyFormatOnXticks(data: Array<HistogramData>): void

Inherited from AbstractChart.applyFormatOnXticks

Defined in histograms/charts/AbstractChart.ts:417

Parameters:

Name Type
data Array<HistogramData>

Returns: void


<Protected> applyStyleOnSelectedBars

applyStyleOnSelectedBars(barsContext: any): void

Inherited from AbstractChart.applyStyleOnSelectedBars

Defined in histograms/charts/AbstractChart.ts:479

Parameters:

Name Type
barsContext any

Returns: void


<Protected> applyStyleOnSelection

applyStyleOnSelection(): void

Overrides AbstractChart.applyStyleOnSelection

Defined in histograms/charts/ChartOneDimension.ts:94

Returns: void


<Protected> createChartAxes

createChartAxes(data: Array<HistogramData>): void

Overrides AbstractChart.createChartAxes

Defined in histograms/charts/ChartOneDimension.ts:53

Parameters:

Name Type
data Array<HistogramData>

Returns: void


<Protected> customizeData

customizeData(data: Array<HistogramData>): void

Inherited from AbstractChart.customizeData

Defined in histograms/charts/AbstractChart.ts:229

Parameters:

Name Type
data Array<HistogramData>

Returns: void


<Protected> drawChartAxes

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

Overrides AbstractHistogram.drawChartAxes

Defined in histograms/charts/ChartOneDimension.ts:82

Parameters:

Name Type
chartAxes ChartAxes
leftOffset number

Returns: void


<Protected> drawYAxis

drawYAxis(chartAxes: ChartAxes): void

Inherited from AbstractChart.drawYAxis

Defined in histograms/charts/AbstractChart.ts:289

Parameters:

Name Type
chartAxes ChartAxes

Returns: void


<Protected> getAxes

getAxes(): ChartAxes

Overrides AbstractChart.getAxes

Defined in histograms/charts/ChartOneDimension.ts:115

Returns: ChartAxes


<Protected> getDataInterval

getDataInterval(data: Array<HistogramData>): number

Inherited from AbstractChart.getDataInterval

Overrides AbstractHistogram.getDataInterval

Defined in histograms/charts/AbstractChart.ts:429

Parameters:

Name Type
data Array<HistogramData>

Returns: number


<Protected> getEndPosition

getEndPosition(data: Array<HistogramData>, index: number): number

Overrides AbstractChart.getEndPosition

Defined in histograms/charts/ChartOneDimension.ts:102

Parameters:

Name Type
data Array<HistogramData>
index number

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 AbstractHistogram.getHistogramMinMaxBorders

Defined in histograms/AbstractHistogram.ts:157

Parameters:

Name Type
data Array<HistogramData>

Returns: [number | Date, number | Date]


<Protected> getIntervalMiddlePositon

getIntervalMiddlePositon(chartAxes: ChartAxes, startvalue: number, endvalue: number): number

Inherited from AbstractChart.getIntervalMiddlePositon

Defined in histograms/charts/AbstractChart.ts:385

Parameters:

Name Type
chartAxes ChartAxes
startvalue number
endvalue number

Returns: number


<Protected> getSelectedBars

getSelectedBars(startvalue: number, endvalue: number): Array<number>

Inherited from AbstractChart.getSelectedBars

Defined in histograms/charts/AbstractChart.ts:391

Parameters:

Name Type
startvalue number
endvalue number

Returns: Array<number>


<Protected> getStartPosition

getStartPosition(data: Array<HistogramData>, index: number): number

Overrides AbstractChart.getStartPosition

Defined in histograms/charts/ChartOneDimension.ts:98

Parameters:

Name Type
data Array<HistogramData>
index number

Returns: number


<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

Overrides AbstractChart.initializeChartDimensions

Defined in histograms/charts/ChartOneDimension.ts:45

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


leaveRemove

leaveRemove(): void

Inherited from AbstractChart.leaveRemove

Defined in histograms/charts/AbstractChart.ts:136

Returns: void


<Protected> moveDataByHalfInterval

moveDataByHalfInterval(data: Array<object>): Array<object>

Inherited from AbstractChart.moveDataByHalfInterval

Defined in histograms/charts/AbstractChart.ts:225

Parameters:

Name Type
data Array<object>

Returns: Array<object>


<Protected> onSelectionDoubleClick

onSelectionDoubleClick(axes: ChartAxes): void

Inherited from AbstractChart.onSelectionDoubleClick

Defined in histograms/charts/AbstractChart.ts:189

Parameters:

Name Type
axes ChartAxes

Returns: void


overRemove

overRemove(e: any): void

Inherited from AbstractChart.overRemove

Defined in histograms/charts/AbstractChart.ts:124

Parameters:

Name Type
e any

Returns: void


plot

plot(inputData: Array<object>): void

Inherited from AbstractChart.plot

Overrides AbstractHistogram.plot

Defined in histograms/charts/AbstractChart.ts:40

Parameters:

Name Type
inputData 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> plotChart

plotChart(data: Array<HistogramData>): void

Overrides AbstractChart.plotChart

Defined in histograms/charts/ChartOneDimension.ts:36

Parameters:

Name Type
data Array<HistogramData>

Returns: void


redrawSelectedIntervals

redrawSelectedIntervals(): void

Inherited from AbstractChart.redrawSelectedIntervals

Defined in histograms/charts/AbstractChart.ts:152

Returns: void


removeSelectInterval

removeSelectInterval(id: string): void

Inherited from AbstractChart.removeSelectInterval

Defined in histograms/charts/AbstractChart.ts:103

Parameters:

Name Type
id string

Returns: void


resize

resize(histogramContainer: HTMLElement): void

Overrides AbstractChart.resize

Defined in histograms/charts/ChartOneDimension.ts:28

Parameters:

Name Type
histogramContainer HTMLElement

Returns: void


<Protected> resizeSelectedIntervals

resizeSelectedIntervals(chartAxes: ChartAxes): void

Inherited from AbstractChart.resizeSelectedIntervals

Defined in histograms/charts/AbstractChart.ts:215

Parameters:

Name Type
chartAxes ChartAxes

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

Overrides AbstractHistogram.setBrushVerticalTooltipsXPositions

Defined in histograms/charts/ChartOneDimension.ts:123

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(data: Array<HistogramData>): void

Inherited from AbstractChart.setDataInterval

Overrides AbstractHistogram.setDataInterval

Defined in histograms/charts/AbstractChart.ts:425

Parameters:

Name Type
data 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


setSelectedInterval

setSelectedInterval(selectedInputValues: SelectedInputValues): void

Inherited from AbstractChart.setSelectedInterval

Defined in histograms/charts/AbstractChart.ts:67

Parameters:

Name Type
selectedInputValues SelectedInputValues

Returns: void


<Protected> setTooltipPositions

setTooltipPositions(data: Array<HistogramData>, container: ContainerElement): void

Inherited from AbstractChart.setTooltipPositions

Defined in histograms/charts/AbstractChart.ts:337

Parameters:

Name Type
data Array<HistogramData>
container ContainerElement

Returns: void


<Protected> setTooltipXposition

setTooltipXposition(xPosition: number): number

Overrides AbstractChart.setTooltipXposition

Defined in histograms/charts/ChartOneDimension.ts:106

Parameters:

Name Type
xPosition number

Returns: number


<Protected> setTooltipYposition

setTooltipYposition(yPosition: number): number

Overrides AbstractChart.setTooltipYposition

Defined in histograms/charts/ChartOneDimension.ts:111

Parameters:

Name Type
yPosition number

Returns: number


<Protected> setVerticalTooltipsWidth

setVerticalTooltipsWidth(): void

Overrides AbstractHistogram.setVerticalTooltipsWidth

Defined in histograms/charts/ChartOneDimension.ts:119

Returns: void


<Protected> showTooltips

showTooltips(data: Array<HistogramData>): void

Inherited from AbstractChart.showTooltips

Defined in histograms/charts/AbstractChart.ts:323

Parameters:

Name Type
data Array<HistogramData>

Returns: void


<Protected> updateSelectionStyle

updateSelectionStyle(id: string): void

Inherited from AbstractChart.updateSelectionStyle

Defined in histograms/charts/AbstractChart.ts:178

Parameters:

Name Type
id string

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