TimelineChartDataProviderBase

Interface for chart data provider.

Configs

5

Common

listenersEvents

Other

Default dataset to show.

Misc

Properties

10

Class hierarchy

isTimelineChartDataProviderBase: Boolean= truereadonly
Identifies an object as an instance of TimelineChartDataProviderBase class, or subclass thereof.
isTimelineChartDataProviderBase: Boolean= truereadonlystatic
Identifies an object as an instance of TimelineChartDataProviderBase class, or subclass thereof.
isEventsEvents

Other

Returns list of supported datasets.

Lifecycle

configBase

Misc

Functions

25

Other

Returns dataset for the chart

ParameterTypeDescription
viewConfigTimelineChartViewConfig
datasetsString[]

List of dataset names to return

onEvents
relayAllEvents
triggerEvents
unEvents

Configuration

applyDefaultsstaticBase

Events

Lifecycle

destroystaticBase

Misc

initClassstaticBase
isOfTypeNamestaticBase
mixinstaticBase

Events

4

TimelineChart listens to this event to refresh the chart. Trigger this event if data is changed from within the data provider.

// Adding a listener using the "on" method
timelineChartDataProviderBase.on('refresh', ({  }) => {

});
catchAllEvents
destroyEvents

Event handlers

4

TimelineChart listens to this event to refresh the chart. Trigger this event if data is changed from within the data provider.

new TimelineChartDataProviderBase({
    onRefresh({  }) {

    }
});
onDestroyEvents

Typedefs

5

Data series meta data

ParameterTypeDescription
nameString

Dataset name

textString

Dataset description

Dataset for the chart

ParameterTypeDescription
maxValueNumber

Maximum value in the series

lineDataTimelineChartLineData[]

Line points definition

Defines line points. Line point is measured from the top left corner of the SVG canvas. Actual position should be determined by the chart provider.

ParameterTypeDescription
xNumber

Horizontal coordinate

yNumber

Vertical coordinate

Timeline view parameters

ParameterTypeDescription
widthNumber

Time axis view model total size

heightNumber

Height of the Gantt body element

tickSizeNumber

Size of the tick

projectStartXNumber

Project start coordinate relative to the timeline start

projectEndXNumber

Project end coordinate relative to the timeline end