Type aliases
DateType
Date
Type
: Date | number | stringEasingFunction
EasingFunction: "linear" | "easeInQuad" | "easeOutQuad" | "easeInOutQuad" | "easeInCubic" | "easeOutCubic" | "easeInOutCubic" | "easeInQuart" | "easeOutQuart" | "easeInOutQuart" | "easeInQuint" | "easeOutQuint" | "easeInOutQuint"
Graph2dBarChartAlign
Graph2dBarChartAlign: "left" | "center" | "right"
Graph2dDrawPointsStyle
Graph2dDrawPointsStyle: "square" | "circle"
Graph2dStyleType
Graph2dStyleType: "line" | "bar" | "points"
IdType
IdType: string | number
LegendPositionType
LegendPositionType: "top-right" | "top-left" | "bottom-right" | "bottom-left"
MomentConstructor2
Type declaration
Parameters
Optional language: string
Optional strict: boolean
ParametrizationInterpolationType
ParametrizationInterpolationType: "centripetal" | "chordal" | "uniform" | "disabled"
RightLeftEnumType
RightLeftEnumType: "right" | "left"
TimelineAlignType
TimelineAlignType: "auto" | "center" | "left" | "right"
TimelineEventPropertiesResultWhatType
TimelineEventPropertiesResultWhatType: "item" | "background" | "axis" | "group-label" | "custom-time" | "current-time"
TimelineEvents
TimelineEvents: "currentTimeTick" | "click" | "contextmenu" | "doubleClick" | "drop" | "mouseOver" | "mouseDown" | "mouseUp" | "mouseMove" | "groupDragged" | "changed" | "rangechange" | "rangechanged" | "select" | "itemover" | "itemout" | "timechange" | "timechanged"
TimelineFormatLabelsFunction
Timeline
Format
Labels
Function
: (date
: Date, scale
: string, step
: number) => stringType declaration
- (date: Date, scale: string, step: number): string
Parameters
scale: string
step: number
Returns string
TimelineItemType
TimelineItemType: "box" | "point" | "range" | "background"
TimelineOptionsCluster
Type declaration
Optional fitOnDoubleClick?: boolean
Optional maxItems?: number
Optional showStipes?: boolean
Optional titleTemplate?: string
TimelineOptionsClusterCriteriaFunction
Type declaration
Parameters
Returns boolean
TimelineOptionsComparisonFunction
TimelineOptionsComparisonFunction: (a: any, b: any) => number
TimelineOptionsConfigureFunction
TimelineOptionsConfigureFunction: (option: string, path: string[]) => boolean
Type declaration
- (option: string, path: string[]): boolean
Parameters
option: string
path: string[]
Returns boolean
TimelineOptionsConfigureType
TimelineOptionsDataAttributesType
TimelineOptionsDataAttributesType: boolean | string | string[]
TimelineOptionsEditableType
TimelineOptionsEventType
TimelineOptionsEventType: "box" | "point" | "range" | "background"
TimelineOptionsGroupCallbackFunction
TimelineOptionsGroupEditableType
TimelineOptionsGroupHeightModeType
TimelineOptionsGroupHeightModeType: "auto" | "fixed" | "fitItems"
TimelineOptionsGroupOrderSwapFunction
Type declaration
Parameters
fromGroup: any
toGroup: any
Returns void
TimelineOptionsGroupOrderType
TimelineOptionsHiddenDatesType
TimelineOptionsItemCallbackFunction
TimelineOptionsItemsAlwaysDraggableType
TimelineOptionsMarginType
TimelineOptionsOrientationType
TimelineOptionsSnapFunction
Timeline
Options
Snap
Function
: (date
: Date, scale
: string, step
: number) => Date | numberType declaration
- (date: Date, scale: string, step: number): Date | number
Parameters
scale: string
step: number
Returns Date | number
TimelineOptionsTemplateFunction
Timeline
Options
Template
Function
: (item
?: any, element
?: any, data
?: any) => string | HTMLElementType declaration
- (item?: any, element?: any, data?: any): string | HTMLElement
Parameters
Optional item: any
Optional element: any
Optional data: any
TimelineOptionsZoomKey
TimelineOptionsZoomKey: "" | "altKey" | "ctrlKey" | "shiftKey" | "metaKey"
TimelineTimeAxisScaleType
TimelineTimeAxisScaleType: "millisecond" | "second" | "minute" | "hour" | "weekday" | "day" | "month" | "year"
TopBottomEnumType
TopBottomEnumType: "top" | "bottom"
If true (default) or an Object, the range is animated smoothly to the new window. An object can be provided to specify duration and easing function. Default duration is 500 ms, and default easing function is 'easeInOutQuad'.