Type Aliases Date Type Date
Type
: Date | number | string Easing Function Easing Function: "linear" | "easeInQuad" | "easeOutQuad" | "easeInOutQuad" | "easeInCubic" | "easeOutCubic" | "easeInOutCubic" | "easeInQuart" | "easeOutQuart" | "easeInOutQuart" | "easeInQuint" | "easeOutQuint" | "easeInOutQuint"
Graph2d Bar Chart Align Graph2d Bar Chart Align: "left" | "center" | "right"
Graph2d Draw Points Style Graph2d Draw Points Style: "square" | "circle"
Graph2d Style Type Graph2d Style Type: "line" | "bar" | "points"
Id Type Id Type: string | number
Legend Position Type Legend Position Type: "top-right" | "top-left" | "bottom-right" | "bottom-left"
Moment Constructor2 Type declaration Parameters Optional language: string Optional strict: boolean Parametrization Interpolation Type Parametrization Interpolation Type: "centripetal" | "chordal" | "uniform" | "disabled"
Right Left Enum Type Right Left Enum Type: "right" | "left"
Timeline Align Type Timeline Align Type: "auto" | "center" | "left" | "right"
Timeline Event Properties Result What Type Timeline Event Properties Result What Type: "item" | "background" | "axis" | "group-label" | "custom-time" | "current-time"
Timeline Events Timeline Events: "currentTimeTick" | "click" | "contextmenu" | "doubleClick" | "drop" | "mouseOver" | "mouseDown" | "mouseUp" | "mouseMove" | "groupDragged" | "changed" | "rangechange" | "rangechanged" | "select" | "itemover" | "itemout" | "timechange" | "timechanged"
Timeline Format Labels Function Timeline
Format
Labels
Function
: ( ( date
: Date , scale
: string , step
: number ) => string ) Type declaration ( date: Date , scale: string , step: number ) : string Parameters scale: string step: number Returns string Timeline Item Type Timeline Item Type: "box" | "point" | "range" | "background"
Timeline Options Cluster Type declaration Optional fit On Double Click?: boolean Optional max Items?: number Optional show Stipes?: boolean Optional title Template?: string Timeline Options Cluster Criteria Function Type declaration Parameters Returns boolean Timeline Options Comparison Function Timeline Options Comparison Function: ( ( a: any , b: any ) => number )
Timeline Options Configure Function Timeline Options Configure Function: ( ( option: string , path: string [] ) => boolean )
Type declaration ( option: string , path: string [] ) : boolean Parameters option: string path: string [] Returns boolean Timeline Options Configure Type Timeline Options Data Attributes Type Timeline Options Data Attributes Type: boolean | string | string []
Timeline Options Editable Type Timeline Options Event Type Timeline Options Event Type: "box" | "point" | "range" | "background"
Timeline Options Group Callback Function Timeline Options Group Editable Type Timeline Options Group Height Mode Type Timeline Options Group Height Mode Type: "auto" | "fixed" | "fitItems"
Timeline Options Group Order Swap Function Timeline
Options
Group
Order
Swap
Function
: ( ( fromGroup
: any , toGroup
: any , groups
: DataInterfaceDataGroup ) => void ) Type declaration Parameters fromGroup: any toGroup: any Returns void Timeline Options Group Order Type Timeline Options Hidden Dates Type Timeline Options Item Callback Function Timeline Options Items Always Draggable Type Timeline Options Margin Type Timeline Options Orientation Type Timeline Options Snap Function Timeline
Options
Snap
Function
: ( ( date
: Date , scale
: string , step
: number ) => Date | number ) Type declaration ( date: Date , scale: string , step: number ) : Date | number Parameters scale: string step: number Returns Date | number Timeline Options Template Function Timeline Options Template Function: ( ( item?: any , element?: any , data?: any ) => string | HTMLElement )
Type declaration ( item?: any , element?: any , data?: any ) : string | HTMLElement Parameters Optional item: any Optional element: any Optional data: any Returns string | HTMLElement Timeline Options Zoom Key Timeline Options Zoom Key: "" | "altKey" | "ctrlKey" | "shiftKey" | "metaKey"
Timeline Time Axis Scale Type Timeline Time Axis Scale Type: "millisecond" | "second" | "minute" | "hour" | "weekday" | "day" | "week" | "month" | "year"
Top Bottom Enum Type Top Bottom Enum Type: "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'.