TimelineHistogramGrouping

Configs

217

Common

columnsGridBase
dataGridBase
emptyTextGridBase
endDateTimelineBase
featuresGridBase
keyMapGridBase
listenersEvents
maxDateTimelineBase
minDateTimelineBase
presetsTimelineViewPresets
rowHeightGridBase
startDateTimelineBase
storeGridBase
viewPresetTimelineViewPresets
visibleDateTimelineBase

Parent histogram data collecting

aggregateDataEntry: function | String

A function used for aggregating child records histogram data entries to their parent entry.

It's called for each child entry and is meant to apply the child entry values to the target parent entry (provided in aggregated parameter). The function must return the resulting aggregated entry that will be passed as aggregated parameter to the next aggregating step.

Should be provided as a function, or name of a function in the ownership hierarchy which may be called.

ParameterTypeDescription
aggregateDataEntry.aggregatedObject

Target parent data entry to aggregate the entry into.

aggregateDataEntry.entryObject

Current entry to aggregate into aggregated.

aggregateDataEntry.arrayIndexNumber

Index of current array (index of the record among other records being aggregated).

aggregateDataEntry.entryIndexObject[]

Index of entry in the current array.

Returns: Object -

Return value becomes the value of the aggregated parameter on the next invocation of this function.

When true the component will automatically calculate data for group records based on the groups members data by calling getGroupRecordHistogramData method.

getDataEntryForAggregating: function | String

Function that extracts a record histogram data entry for aggregating. By default it returns the entry as is. Override the function if you need a more complex way to retrieve the value for aggregating.

Should be provided as a function, or the name of a function in the ownership hierarchy which may be called.

ParameterTypeDescription
getDataEntryForAggregating.entryObject

Current data entry.

Returns: Object -

Entry to aggregate

initAggregatedDataEntry: function | String

A function that initializes a target group record entry.

Should be provided as a function, or name of a function in the ownership hierarchy which may be called.

Returns: Object -

Target aggregated entry

Accessibility

ariaLabelWidget

Content

bbarPanel
defaultsContainer
footerPanel
headerPanel
itemsContainer
lazyItemsContainer
namedItemsContainer
stripsPanel
tbarPanel
textContentContainer
toolsPanel

CSS

bodyClsPanel
borderContainer
clsWidget
colorWidget
htmlClsWidget
itemClsContainer
styleWidget
uiPanel

Dates

timeResolutionTimelineDateMapper

DOM

adoptWidget
appendToWidget
contentWidget
datasetWidget
htmlWidget
idWidget
tagWidget

Float & align

alignWidget
anchorWidget
centeredWidget
draggableWidget
floatingWidget
xWidget
yWidget

Infinite scroll

bufferCoefTimelineScroll
bufferThresholdTimelineScroll
infiniteScrollTimelineScroll

Layout

alignSelfWidget
autoHeightGridBase
dockWidget
flexWidget
getRowHeightGridBase
heightWidget
hiddenWidget
hideWhenEmptyContainer
layoutContainer
layoutStyleContainer
marginWidget
maxHeightWidget
maxWidthWidget
minHeightGridBase
minWidthWidget
textAlignWidget
weightWidget
widthWidget

Masking

loadMaskLoadMaskable
loadMaskDefaultsLoadMaskable
loadMaskErrorLoadMaskable
syncMaskLoadMaskable

misc

tabBarItemsContainer

Misc

cellEllipsisGridBase
columnLinesGridBase
dataFieldWidget
defaultRegionTimelineBase
destroyStoreGridBase
disabledWidget
enableStickyGridBase
enableUndoRedoKeysGridElementEvents
hideFootersGridBase
hideHeadersGridBase
hideRowHoverTimelineBase
hoverClsGridElementEvents
iconPanel
localeClassLocalizable
localizableLocalizable
longPressTimeGridElementEvents
maskDefaultsGridBase
maskedWidget
ownerWidget
pluginsPluggable
readOnlyGridBase
refWidget
responsiveLevelsGridResponsive
rippleWidget
rowLinesGridBase
showDirtyGridBase
tabWidget
timeZoneTimelineBase
titlePanel
tooltipWidget

Other

barTooltipTemplateTimelineHistogramBase
columnWidget
dataModelFieldTimelineHistogramBase
defaultFocusContainer
drawerPanel
getBarClassTimelineHistogramBase
getBarDOMConfigTimelineHistogramBase
getBarTextTimelineHistogramBase
getBarTextDOMConfigTimelineHistogramBase
getOutlineClassTimelineHistogramBase
getOutlineDOMConfigTimelineHistogramBase
getRecordDataTimelineHistogramBase
histogramWidgetTimelineHistogramBase
histogramWidgetClassTimelineHistogramBase
labelPositionContainer
renditionContainer
rtlRTL
seriesTimelineHistogramBase
showBarTipTimelineHistogramBase
spanWidget
stateSettingsGridState
transitionGridBase

Record

recordContainer

Scheduled events

barMarginTimelineEventRendering
displayDateFormatTimelineViewPresets
enableRecurringEventsRecurringEvents
eventColorTimelineEventRendering
eventStyleTimelineEventRendering
fillTicksTimelineEventRendering
managedEventSizingTimelineEventRendering
snapTimelineDateMapper
tickSizeTimelineEventRendering

Scrolling

scrollableGridBase

Selection

selectionModeGridSelection

State

stateIdState

Time axis

autoAdjustTimeAxisTimelineBase
forceFitTimelineBase
partnerTimelineBase
stickyHeadersTimelineBase
suppressFitTimelineBase
timeAxisTimelineBase
weekStartDayTimelineBase
workingTimeTimelineBase

Tree

Zoom

maxZoomLevelTimelineZoomable
minZoomLevelTimelineZoomable
visibleZoomFactorTimelineZoomable
zoomOnMouseWheelTimelineZoomable

Properties

193

Common

columnsGridBase
dataGridBase
emptyTextGridBase
endDateTimelineBase
featuresGridFeatures
maxDateTimelineBase
minDateTimelineBase
presetsTimelineViewPresets
rowHeightGridBase
startDateTimelineBase
storeGridBase
subGridsGridSubGrids
viewPresetTimelineViewPresets
visibleDateTimelineBase

Class hierarchy

isTimelineHistogramGrouping: Boolean= truereadonly
Identifies an object as an instance of TimelineHistogramGrouping class, or subclass thereof.
isTimelineHistogramGrouping: Boolean= truereadonlystatic
Identifies an object as an instance of TimelineHistogramGrouping class, or subclass thereof.
isContainerContainer
isDelayableDelayable
isEventsEvents
isGridGrid
isGridBaseGridBase
isGridElementEventsGridElementEvents
isGridFeaturesGridFeatures
isGridResponsiveGridResponsive
isGridSelectionGridSelection
isGridStateGridState
isGridSubGridsGridSubGrids
isKeyMapKeyMap
isLoadMaskableLoadMaskable
isLocalizableLocalizable
isPanelPanel
isPluggablePluggable
isRecurringEventsRecurringEvents
isStateState
isTimelineBaseTimelineBase
isTimelineDateMapperTimelineDateMapper
isTimelineDomEventsTimelineDomEvents
isTimelineEventRenderingTimelineEventRendering
isTimelineHistogramBaseTimelineHistogramBase
isTimelineScrollTimelineScroll
isTimelineStateTimelineState
isTimelineViewPresetsTimelineViewPresets
isTimelineZoomableTimelineZoomable
isToolableToolable
isWidgetWidget

Accessibility

keyMapKeyMap

Content

bbarPanel
tbarPanel

CSS

clsWidget

Dates

timelineContextTimelineDomEvents
timeResolutionTimelineDateMapper
viewportCenterDateTimelineDateMapper
visibleDateRangeTimelineBase

DOM

appendToWidget
contentWidget
datasetWidget
elementWidget
htmlWidget
idWidget
styleWidget

Float & align

xWidget
yWidget

Infinite scroll

infiniteScrollTimelineScroll

Layout

alignSelfWidget
bodyHeightGridBase
flexWidget
footerHeightGridBase
headerHeightGridBase
heightWidget
layoutContainer
layoutStyleContainer
marginWidget
maxHeightWidget
maxWidthWidget
minHeightWidget
minWidthWidget
widthWidget

Lifecycle

configBase

Misc

cellEllipsisGridBase
cellInfoWidget
columnLinesGridBase
disabledWidget
enableUndoRedoKeysGridElementEvents
hideFootersGridBase
hideHeadersGridBase
hideRowHoverTimelineBase
hoveredCellGridElementEvents
localeHelperLocalizable
localeManagerLocalizable
longPressTimeGridElementEvents
pluginsPluggable
readOnlyGridBase
refWidget
responsiveLevelGridResponsive
rowLinesGridBase
tabWidget
timeZoneTimelineBase
titlePanel
tooltipWidget

Other

$namestaticWidget
columnWidget
firstItemContainer
hasChangesContainer
histogramWidgetTimelineHistogramBase
isValidContainer
itemsContainer
labelPositionContainer
lastItemContainer
renditionContainer
rtlRTL
showBarTipTimelineHistogramBase
spanWidget
stateSettingsGridState
toolsPanel
transitionGridBase
typestaticWidget
valuesContainer

Record

recordContainer

Rows

Scheduled events

barMarginTimelineEventRendering
displayDateFormatTimelineViewPresets
eventColorTimelineEventRendering
eventColorsstaticTimelineEventRendering
eventStyleTimelineEventRendering
eventStylesstaticTimelineEventRendering
fillTicksTimelineEventRendering
hasVisibleEventsTimelineBase
snapTimelineDateMapper
tickSizeTimelineEventRendering

Scrolling

scrollLeftTimelineScroll
scrollTopTimelineScroll
scrollXTimelineScroll
timelineScrollerTimelineScroll

Selection

selectedCellGridSelection
selectedCellsGridSelection
selectedRecordGridSelection
selectedRecordsGridSelection
selectedRowsGridSelection
selectionModeGridSelection

State

stateGridState

Time axis

forceFitTimelineBase
partnersTimelineBase
suppressFitTimelineBase
timeAxisTimelineBase
timeAxisColumnTimelineBase
timeAxisSubGridTimelineBase
timeAxisViewModelTimelineBase
workingTimeTimelineBase

Tree

Visibility

hiddenWidget
isVisibleWidget

Widget hierarchy

ownerWidget
parentWidget
widgetMapContainer

Zoom

maxZoomLevelTimelineZoomable
minZoomLevelTimelineZoomable
zoomLevelTimelineZoomable

Functions

170

Other

Aggregates collected child records data to its parent. The method is synchronous and is called when all the child records data is ready. Override the method if you need to preprocess or postprocess parent records aggregated data:

class MyHistogramView extends TimelineHistogram({

    aggregateHistogramData(recordsData, records, aggregationContext) {
        const result = super.aggregateHistogramData(recordsData, records, aggregationContext);

        // postprocess averageSalary series values collected for a parent record
        result.forEach(entry => {
            entry.averageSalary = entry.averageSalary / records.length;
        });

        return result;
    }

});
ParameterTypeDescription
recordsDataObject[]

Child records histogram data.

recordsModel[]

Child records.

aggregationContextObject

An object containing current shared info on the current aggregation process

Resets generated records (parents and links) data cache

addContainer
addPartnerTimelineBase
clearHistogramDataCacheTimelineHistogramBase
composeWidget
createOnFrameDelayable
disableWidget
enableWidget
focusWidget
formatDurationTimelineBase
getAtContainer
getHistogramDataCacheTimelineHistogramBase
getRecordHistogramDataTimelineHistogramBase
getWidgetByIdContainer
hasHistogramDataCacheTimelineHistogramBase
insertContainer
isPartneredWithTimelineBase
LstaticLocalizable
maskWidget
onEvents
preserveViewCenterTimelineBase
recomposeWidget
relayAllEvents
removeContainer
removeAllContainer
removePartnerTimelineBase
resetValuesContainer
scheduleRefreshRowsTimelineHistogramBase
setEndDateTimelineBase
setHistogramDataCacheTimelineHistogramBase
setStartDateTimelineBase
setTimeSpanTimelineBase
setValuesContainer
shiftTimelineZoomable
shiftNextTimelineZoomable
shiftPreviousTimelineZoomable
triggerEvents
unEvents
unmaskWidget
zoomToFitTimelineZoomable

Parent histogram data collecting

Aggregates multiple records histogram data. If some of the provided records data is not ready yet the method returns a Promise that's resolved once the data is ready and aggregated.

ParameterTypeDescription
recordsModel[]

Records to aggregate data of.

aggregationContextObject

Optional aggregation context object. Can be used by to share some data between the aggregation steps.

Returns: Object[] | Promise -

Either the provided group record histogram data or a Promise that returns the data when resolved.

Aggregates the provided group record children histogram data. If some of the provided records data is not ready yet the method returns a Promise that's resolved once the data is ready and aggregated.

// get parent record aggregated histogram data
const aggregatedData = await histogram.getGroupRecordHistogramData(record);
ParameterTypeDescription
recordModel

Group record.

aggregationContextObject

Optional aggregation context object. When provided will be used as a shared object passed through while collecting the data. So can be used for some custom application purposes.

Returns: Object[] | Promise -

Either the provided group record histogram data or a Promise that returns the data when resolved.

Configuration

applyDefaultsstaticBase

Data

getOccurrencesForRecurringEvents

Dates

getCoordinateFromDateTimelineDateMapper
getDateFromCoordinateTimelineDateMapper
getDateFromDomEventTimelineDateMapper
getDateFromXYTimelineDateMapper
getTimeSpanDistanceTimelineDateMapper

Events

Float & align

alignToWidget
setXYWidget
showByWidget
toFrontWidget

Getters

getCellGridBase

Lifecycle

createstaticWidget
destroystaticBase
initClassstaticWidget

Misc

addPluginsPluggable
attachTooltipstaticWidget
fromElementstaticWidget
fromSelectorstaticWidget
getByIdstaticWidget
getPluginPluggable
hasFeatureGridFeatures
hasPluginPluggable
highlightEventsTimelineBase
isOfTypeNamestaticBase
maskBodyGridBase
mixinstaticBase
optionalLstaticLocalizable
unhighlightEventsTimelineBase
unmaskBodyGridBase

Rendering

refreshRowGridBase
refreshRowsGridBase
renderRowsGridBase

Rows

getRowForGridBase

Scrolling

scrollHorizontallyToTimelineScroll
scrollToTimelineScroll
scrollToDateTimelineScroll
scrollToNowTimelineScroll
scrollToTopGridBase
scrollVerticallyToTimelineScroll
storeScrollGridBase

Selection

deselectAllGridSelection
deselectCellGridSelection
deselectCellsGridSelection
deselectRowGridSelection
deselectRowsGridSelection
isCellSelectedGridSelection
isSelectableGridSelection
isSelectedGridSelection
selectAllGridSelection
selectCellGridSelection
selectCellRangeGridSelection
selectCellsGridSelection
selectRangeGridSelection
selectRowGridSelection
selectRowsGridSelection

State

SubGrid

getSubGridGridSubGrids

Visibility

hideWidget
showWidget

Widget hierarchy

closestWidget
containsWidget
ownsWidget
queryWidget
queryAllWidget
upWidget

Zoom

zoomInTimelineZoomable
zoomInFullTimelineZoomable
zoomOutTimelineZoomable
zoomOutFullTimelineZoomable
zoomToTimelineZoomable
zoomToLevelTimelineZoomable
zoomToSpanTimelineZoomable

Events

64
beforeAssignmentDeleteRecurringEvents
beforeEventDeleteRecurringEvents
beforeHistogramDataCacheSetTimelineHistogramBase
beforePresetChangeTimelineViewPresets
beforeRenderHistogramRowTimelineHistogramBase
beforeRenderRecordHistogramTimelineHistogramBase
catchAllEvents
cellClickGridElementEvents
cellContextMenuGridElementEvents
cellDblClickGridElementEvents
cellMouseEnterGridElementEvents
cellMouseLeaveGridElementEvents
cellMouseOutGridElementEvents
cellMouseOverGridElementEvents
dataChangeGridBase
dateRangeChangeTimelineBase
destroyEvents
dragSelectingGridSelection
expandPanel
focusInWidget
focusOutWidget
headerClickGridElementEvents
hideWidget
histogramDataCacheSetTimelineHistogramBase
mouseOutGridElementEvents
mouseOverGridElementEvents
noZoomChangeTimelineZoomable
paintWidget
presetChangeTimelineViewPresets
readOnlyWidget
recomposeWidget
renderRowGridBase
renderRowsGridBase
resizeWidget
responsiveGridResponsive
rowMouseEnterGridElementEvents
rowMouseLeaveGridElementEvents
scrollGridBase
selectionChangeGridSelection
selectionModeChangeGridSelection
showWidget
tickSizeChangeTimelineEventRendering
timeAxisChangeTimelineBase
timeAxisHeaderClickTimelineDomEvents
timeAxisHeaderContextMenuTimelineDomEvents
timeAxisHeaderDblClickTimelineDomEvents
timelineContextChangeTimelineDomEvents

Event handlers

64
onBeforeEventDeleteRecurringEvents
onBeforeHistogramDataCacheSetTimelineHistogramBase
onBeforePresetChangeTimelineViewPresets
onBeforeRenderHistogramRowTimelineHistogramBase
onBeforeRenderRecordHistogramTimelineHistogramBase
onCellClickGridElementEvents
onCellContextMenuGridElementEvents
onCellDblClickGridElementEvents
onCellMouseEnterGridElementEvents
onCellMouseLeaveGridElementEvents
onCellMouseOutGridElementEvents
onCellMouseOverGridElementEvents
onDataChangeGridBase
onDateRangeChangeTimelineBase
onDestroyEvents
onDragSelectingGridSelection
onFocusInWidget
onHeaderClickGridElementEvents
onHideWidget
onHistogramDataCacheSetTimelineHistogramBase
onMouseOutGridElementEvents
onMouseOverGridElementEvents
onNoZoomChangeTimelineZoomable
onPaintWidget
onPresetChangeTimelineViewPresets
onRenderRowGridBase
onRenderRowsGridBase
onResizeWidget
onResponsiveGridResponsive
onRowMouseEnterGridElementEvents
onRowMouseLeaveGridElementEvents
onScrollGridBase
onSelectionChangeGridSelection
onShowWidget
onTickSizeChangeTimelineEventRendering
onTimeAxisChangeTimelineBase
onTimeAxisHeaderClickTimelineDomEvents
onTimeAxisHeaderDblClickTimelineDomEvents
onTimelineContextChangeTimelineDomEvents

Typedefs

19

CSS variables

84