AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated 7.13.0 version of this document. Switch to the 8.4.0 version to see the up to date information.

class anychart.core.ui.Timeline Improve this Doc

Class for the Gantt chart timeline.

Methods Overview

Specific settings
editFinishConnectorMarkerHorizontalOffset()Finish edit connector control horizontal offset.
editFinishConnectorMarkerType()Finish edit connector control type.
editFinishConnectorMarkerVerticalOffset()Finish edit connector control vertical offset.
editIntervalWidth()Interval edit control width.
editStartConnectorMarkerHorizontalOffset()Start edit connector control horizontal offset.
editStartConnectorMarkerType()Start edit connector control type.
editStartConnectorMarkerVerticalOffset()Start edit connector control vertical offset.
header()Timeline header settings.
Axes and Scales
lineMarker()Line marker settings.
rangeMarker()Range marker settings.
scale()Scale settings.
textMarker()Text marker settings.
Coloring
backgroundFill()Background fill settings.
baseFill()Base fill settings.
baseStroke()Base stroke settings.
baselineFill()Baseline fill settings.
baselineStroke()Baseline stroke settings.
columnStroke()Column stroke settings.
connectorFill()Connector fill settings.
connectorPreviewStroke()Connector preview stroke settings.
connectorStroke()Connector stroke settings.
editConnectorThumbFill()Edit connector thumb fill settings.
editConnectorThumbStroke()Edit connector thumb stroke settings.
editIntervalThumbFill()Edit interval preview fill settings.
editIntervalThumbStroke()Edit interval thumb stroke settings.
editPreviewFill()Edit preview fill settings.
editPreviewStroke()Edit preview stroke settings.
editProgressFill()Edit progress preview fill settings.
editProgressStroke()Edit progress preview stroke settings.
editStructurePreviewDashStroke()Connector preview stroke settings.
editStructurePreviewFill()Edit structure fill settings.
editStructurePreviewStroke()Connector preview stroke settings.
milestoneFill()Milestone fill settings.
milestoneStroke()Milestone stroke settings.
parentFill()Parent fill settings.
parentStroke()Parent stroke settings.
progressFill()Progress bar fill settings.
progressStroke()Progress stroke settings.
rowEvenFill()Row even settings.
rowFill()Row fill settings.
rowHoverFill()Row settings on hover fill.
rowOddFill()Row odd fill settings.
rowSelectedFill()Row settings in selected mode.
selectedElementFill()Fill settings for selected element.
selectedElementStroke()Stroke settings for selected element.
Interactivity
editing()Live edit mode.
horizontalScrollBar()Horizontal scroll bar settings.
tooltip()Tooltip settings.
verticalScrollBar()Vertical scroll bar settings.
Point Elements
labels()Labels settings.
markers()Markers settings.
Size and Position
baselineAbove()Displaying of the baseline bar above an time bar.
editFinishConnectorMarkerSize()Finish edit connector control size.
editStartConnectorMarkerSize()Start edit connector control size.

Methods Description

backgroundFill

Getter for the current background fill.

Returns:

anychart.graphics.vector.Fill | string - Current background fill.
Sets fill settings using an array or a string. Learn more about coloring.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Fill
"none"
Color as an array or a string.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Fill color with opacity.

Params:

NameTypeDefaultDescription
colorstring
"none"
Color as a string.
opacitynumber
Color opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Linear gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Gradient keys.
anglenumberGradient angle.
modeboolean | anychart.graphics.vector.Rect | ObjectGradient mode.
opacitynumberGradient opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Radial gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Color-stop gradient keys.
cxnumberX ratio of center radial gradient.
cynumberY ratio of center radial gradient.
modeanychart.graphics.math.RectIf defined then userSpaceOnUse mode, else objectBoundingBox.
opacitynumberOpacity of the gradient.
fxnumberX ratio of focal point.
fynumberY ratio of focal point.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

Params:

NameTypeDescription
imageSettingsanychart.graphics.vector.FillObject with settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

baseFill

Getter for the current base fill.

Returns:

anychart.graphics.vector.Fill | string - The current base fill.
Sets base fill settings using an object or a string. Learn more about coloring.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Fill
"none"
Color as an object or a string.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Fill color with opacity. Fill as a string or an object.

Params:

NameTypeDefaultDescription
colorstring
"none"
Color as a string.
opacitynumber
Color opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Linear gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Gradient keys.
anglenumberGradient angle.
modeboolean | anychart.graphics.vector.Rect | ObjectGradient mode.
opacitynumberGradient opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Radial gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Color-stop gradient keys.
cxnumberX ratio of center radial gradient.
cynumberY ratio of center radial gradient.
modeanychart.graphics.math.RectIf defined then userSpaceOnUse mode, else objectBoundingBox.
opacitynumberOpacity of the gradient.
fxnumberX ratio of focal point.
fynumberY ratio of focal point.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

Params:

NameTypeDescription
imageSettingsanychart.graphics.vector.FillObject with settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

baseStroke

Getter for the current base stroke settings.

Returns:

anychart.graphics.vector.Stroke | string - The current base stroke settings.
Setter for the base stroke settings. Learn more about stroke settings.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
'#0C3F5F'
Stroke settings.
thicknessnumber
1
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinanychart.graphics.vector.StrokeLineJoin
Line join style.
lineCapanychart.graphics.vector.StrokeLineCap
Line cap style.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

baselineAbove

Getter for the current "baseline above" flag.

Returns:

boolean - The current boolean value.
Setter for the "baseline above" flag.

Params:

NameTypeDefaultDescription
valueboolean
false
Value to set.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

baselineFill

Getter for the current baseline fill.

Returns:

anychart.graphics.vector.Fill | string - The current baseline fill.
Sets baseline fill settings using an object or a string. Learn more about coloring.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Fill
{keys: Array["#E1E1E1", "#A1A1A1"], angle: -90, mode: false, opacity: 1}
Color as an object or a string.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Fill color with opacity. Fill as a string or an object.

Params:

NameTypeDefaultDescription
colorstring
'#ccd7e1'
Color as a string.
opacitynumber
Color opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Linear gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Gradient keys.
anglenumberGradient angle.
modeboolean | anychart.graphics.vector.Rect | ObjectGradient mode.
opacitynumberGradient opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Radial gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Color-stop gradient keys.
cxnumberX ratio of center radial gradient.
cynumberY ratio of center radial gradient.
modeanychart.graphics.math.RectIf defined then userSpaceOnUse mode, else objectBoundingBox.
opacitynumberOpacity of the gradient.
fxnumberX ratio of focal point.
fynumberY ratio of focal point.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

Params:

NameTypeDescription
imageSettingsanychart.graphics.vector.FillObject with settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

baselineStroke

Getter for the current baseline stroke settings.

Returns:

anychart.graphics.vector.Stroke | string - The current baseline stroke settings.
Setter for the baseline stroke settings. Learn more about stroke settings.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
'#0C3F5F'
Stroke settings.
thicknessnumber
1
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinanychart.graphics.vector.StrokeLineJoin
Line join style.
lineCapanychart.graphics.vector.StrokeLineCap
Line join style.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

columnStroke

Getter for the current column stroke.

Returns:

string | anychart.graphics.vector.Stroke - The current column stroke.
Setter for the column stroke.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Stroke | string
{color: "#ccd7e1", thickness: 1}
Value to set.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

connectorFill

Getter for the connector baseline fill.

Returns:

anychart.graphics.vector.Fill | string - The current baseline fill.
Sets baseline fill settings using an object or a string. Learn more about coloring.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Fill | !Array.<(anychart.graphics.vector.GradientKey|string)> | null
"#000090"
Fill settings.
cxnumber
X ratio of center radial gradient.
cynumber
Y ratio of center radial gradient.
opacityOrModeanychart.graphics.math.Rect
If defined then userSpaceOnUse mode, else objectBoundingBox.
opacitynumber
Opacity.
fxnumber
X ratio of focal point.
fynumber
Y ratio of focal point.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

connectorPreviewStroke

Getter for the current connector preview stroke.

Returns:

anychart.graphics.vector.Stroke | string - The current connector preview stroke.
Setter for the connector preview stroke. Learn more about stroke settings.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
{color: "#0000ff",
opacity: 0.6, dash: "3 3"}
Stroke settings.
thicknessnumber
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinanychart.graphics.vector.StrokeLineJoin
Line join style.
lineCapanychart.graphics.vector.StrokeLineCap
Line cap style.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

connectorStroke

Getter for the current connector stroke settings.

Returns:

anychart.graphics.vector.Stroke | string - The current connector stroke settings.
Setter for the connector stroke settings. Learn more about stroke settings.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
"#000090"
Stroke settings.
thicknessnumber
1
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinanychart.graphics.vector.StrokeLineJoin
Line join style.
lineCapanychart.graphics.vector.StrokeLineCap
Line join style.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

editConnectorThumbFill

Getter for the current edit connector thumb fill.

Returns:

anychart.graphics.vector.Fill | string - The current edit connector thumb fill.
Sets fill settings using an array or a string. Learn more about coloring.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Fill
"#fff"
Color as an array or a string.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Fill color with opacity. Fill as a string or an object.

Params:

NameTypeDefaultDescription
colorstring
"#fff"
Color as a string.
opacitynumber
Color opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Linear gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Gradient keys.
anglenumberGradient angle.
modeboolean | anychart.graphics.vector.Rect | ObjectGradient mode.
opacitynumberGradient opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Radial gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Color-stop gradient keys.
cxnumberX ratio of center radial gradient.
cynumberY ratio of center radial gradient.
modeanychart.graphics.math.RectIf defined then userSpaceOnUse mode, else objectBoundingBox.
opacitynumberOpacity of the gradient.
fxnumberX ratio of focal point.
fynumberY ratio of focal point.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

Params:

NameTypeDescription
imageSettingsanychart.graphics.vector.FillObject with settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

editConnectorThumbStroke

Getter for the current edit connector thumb stroke.

Returns:

anychart.graphics.vector.Stroke | string - The current edit connector thumb stroke.
Setter for the edit connector thumb stroke. Learn more about stroke settings.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
"#000"
Stroke settings.
thicknessnumber
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinanychart.graphics.vector.StrokeLineJoin
Line join style.
lineCapanychart.graphics.vector.StrokeLineCap
Line cap style.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

editFinishConnectorMarkerHorizontalOffset

Getter for the finish edit connector control horizontal offset.

Returns:

number - The horizontal offset.
See listing
var offset = timeLine.editFinishConnectorMarkerHorizontalOffset();
Setter for the finish edit connector control horizontal offset.

Params:

NameTypeDefaultDescription
valuenumber
0
Value to set.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

editFinishConnectorMarkerSize

Getter for the finish edit connector control size.

Returns:

number - The control size.
See listing
var size = timeLine.editFinishConnectorMarkerSize();
Setter for the finish edit connector control size.

Params:

NameTypeDefaultDescription
valuenumber
10
The control size.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

editFinishConnectorMarkerType

Getter for the finish edit connector control type.

Returns:

anychart.enums.MarkerType | string - The control type.
See listing
var type = timeLine.editFinishConnectorMarkerType();
Setter for the finish edit connector control type.

Params:

NameTypeDefaultDescription
valueanychart.enums.MarkerType
"circle"
The control type.

Returns:

anychart.enums.MarkerType - Self instance for method chaining.

editFinishConnectorMarkerVerticalOffset

Getter for the finish edit connector control vertical offset.

Returns:

number - The vertical offset.
See listing
var offset = timeLine.editFinishConnectorMarkerVerticalOffset();
Setter for the finish edit connector control vertical offset.

Params:

NameTypeDefaultDescription
valuenumber
0
The vertical offset.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

editIntervalThumbFill

Getter for the current edit interval thumb fill.

Returns:

anychart.graphics.vector.Fill | string - The current edit interval fill.
Sets fill settings using an array or a string. Learn more about coloring.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Fill
"#fff"
Color as an array or a string.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Fill color with opacity. Fill as a string or an object.

Params:

NameTypeDefaultDescription
colorstring
"#fff"
Color as a string.
opacitynumber
Color opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Linear gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Gradient keys.
anglenumberGradient angle.
modeboolean | anychart.graphics.vector.Rect | ObjectGradient mode.
opacitynumberGradient opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Radial gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Color-stop gradient keys.
cxnumberX ratio of center radial gradient.
cynumberY ratio of center radial gradient.
modeanychart.graphics.math.RectIf defined then userSpaceOnUse mode, else objectBoundingBox.
opacitynumberOpacity of the gradient.
fxnumberX ratio of focal point.
fynumberY ratio of focal point.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

Params:

NameTypeDescription
imageSettingsanychart.graphics.vector.FillObject with settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

editIntervalThumbStroke

Getter for the current edit interval thumb stroke.

Returns:

anychart.graphics.vector.Stroke | string - The current edit interval thumb stroke.
Setter for the edit interval thumb stroke. Learn more about stroke settings.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
"#000"
Stroke settings.
thicknessnumber
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinanychart.graphics.vector.StrokeLineJoin
Line join style.
lineCapanychart.graphics.vector.StrokeLineCap
Line cap style.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

editIntervalWidth

Getter for the interval edit control width.

Returns:

number - The control width.
See listing
var offset = timeLine.editIntervalWidth();
Setter for the interval edit control width.

Params:

NameTypeDescription
valuenumberThe control width.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

editPreviewFill

Getter for the current edit preview fill.

Returns:

anychart.graphics.vector.Fill | string - The current edit preview fill.
Sets fill settings using an array or a string. Learn more about coloring.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Fill
{color: "#fff", opacity: 0.00001}
Color as an object or a string.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Fill color with opacity. Fill as a string or an object.

Params:

NameTypeDefaultDescription
colorstring
"none"
Color as a string.
opacitynumber
Color opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Linear gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Gradient keys.
anglenumberGradient angle.
modeboolean | anychart.graphics.vector.Rect | ObjectGradient mode.
opacitynumberGradient opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Radial gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Color-stop gradient keys.
cxnumberX ratio of center radial gradient.
cynumberY ratio of center radial gradient.
modeanychart.graphics.math.RectIf defined then userSpaceOnUse mode, else objectBoundingBox.
opacitynumberOpacity of the gradient.
fxnumberX ratio of focal point.
fynumberY ratio of focal point.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

Params:

NameTypeDescription
imageSettingsanychart.graphics.vector.FillObject with settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

editPreviewStroke

Getter for the current edit preview stroke.

Returns:

anychart.graphics.vector.Stroke | string - The current edit preview stroke.
Setter for the edit preview stroke. Learn more about stroke settings.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
{color: "#aaa",
dash: "3 3"}
Stroke settings.
thicknessnumber
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinanychart.graphics.vector.StrokeLineJoin
Line join style.
lineCapanychart.graphics.vector.StrokeLineCap
Line cap style.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

editProgressFill

Getter for the current edit progress fill.

Returns:

anychart.graphics.vector.Fill | string - The current edit progress fill.
Sets fill settings using an array or a string. Learn more about coloring.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Fill
"#fff"
Color as an array or a string.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Fill color with opacity. Fill as a string or an object.

Params:

NameTypeDefaultDescription
colorstring
"#fff"
Color as a string.
opacitynumber
Color opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Linear gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Gradient keys.
anglenumberGradient angle.
modeboolean | anychart.graphics.vector.Rect | ObjectGradient mode.
opacitynumberGradient opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Radial gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Color-stop gradient keys.
cxnumberX ratio of center radial gradient.
cynumberY ratio of center radial gradient.
modeanychart.graphics.math.RectIf defined then userSpaceOnUse mode, else objectBoundingBox.
opacitynumberOpacity of the gradient.
fxnumberX ratio of focal point.
fynumberY ratio of focal point.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

Params:

NameTypeDescription
imageSettingsanychart.graphics.vector.FillObject with settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

editProgressStroke

Getter for the current edit progress stroke.

Returns:

anychart.graphics.vector.Stroke | string - The current edit progress stroke.
Setter for the edit progress stroke. Learn more about stroke settings.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
"#000"
Stroke settings.
thicknessnumber
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinanychart.graphics.vector.StrokeLineJoin
Line join style.
lineCapanychart.graphics.vector.StrokeLineCap
Line cap style.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

editStartConnectorMarkerHorizontalOffset

Getter for the start edit connector control horizontal offset.

Returns:

number - The horizontal offset.
See listing
var offset = timeLine.editStartConnectorMarkerHorizontalOffset();
Setter for the start edit connector control horizontal offset.

Params:

NameTypeDefaultDescription
valuenumber
0
The horizontal offset.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

editStartConnectorMarkerSize

Getter for the start edit connector control size.

Returns:

number - The control size.
See listing
var size = timeLine.editStartConnectorMarkerSize();
Setter for the start edit connector control size.

Params:

NameTypeDefaultDescription
valuenumber
10
The control size.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

editStartConnectorMarkerType

Getter for the start edit connector control type.

Returns:

anychart.enums.MarkerType | string - The control type.
See listing
var type = timeLine.editStartConnectorMarkerType();
Setter for the start edit connector control type.

Params:

NameTypeDefaultDescription
valueanychart.enums.MarkerType
"circle"
The control type.

Returns:

anychart.enums.MarkerType - Self instance for method chaining.

editStartConnectorMarkerVerticalOffset

Getter for the start edit connector control vertical offset.

Returns:

number - The vertical offset.
See listing
var offset = timeLine.editStartConnectorMarkerVerticalOffset();
Setter for the start edit connector control vertical offset.

Params:

NameTypeDefaultDescription
valuenumber
0
The vertical offset.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

editStructurePreviewDashStroke

Getter for the current preview dash stroke when editing structure.

Returns:

anychart.graphics.vector.Stroke | string - The current preview dash stroke when editing structure
Setter for the preview dash stroke when editing structure. Learn more about stroke settings.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
{color: "#4285F4", dash: "4 4"}
Stroke settings.
thicknessnumber
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinanychart.graphics.vector.StrokeLineJoin
Line join style.
lineCapanychart.graphics.vector.StrokeLineCap
Line cap style.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

editStructurePreviewFill

Getter for the current preview fill when editing structure.

Returns:

anychart.graphics.vector.Fill | string - The current preview fill when editing structure.
Sets fill settings using an array or a string. Learn more about coloring.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Fill
{color: "#4285F4", opacity: 0.2}
Color as an object or a string.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Fill color with opacity. Fill as a string or an object.

Params:

NameTypeDefaultDescription
colorstring
"none"
Color as a string.
opacitynumber
Color opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Linear gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Gradient keys.
anglenumberGradient angle.
modeboolean | anychart.graphics.vector.Rect | ObjectGradient mode.
opacitynumberGradient opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Radial gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Color-stop gradient keys.
cxnumberX ratio of center radial gradient.
cynumberY ratio of center radial gradient.
modeanychart.graphics.math.RectIf defined then userSpaceOnUse mode, else objectBoundingBox.
opacitynumberOpacity of the gradient.
fxnumberX ratio of focal point.
fynumberY ratio of focal point.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

Params:

NameTypeDescription
imageSettingsanychart.graphics.vector.FillObject with settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

editStructurePreviewStroke

Getter for the current preview stroke when editing structure.

Returns:

anychart.graphics.vector.Stroke | string - The current preview stroke when editing structure
Setter for the preview stroke when editing structure. Learn more about stroke settings.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
"#545f69"
Stroke settings.
thicknessnumber
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinanychart.graphics.vector.StrokeLineJoin
Line join style.
lineCapanychart.graphics.vector.StrokeLineCap
Line cap style.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

editing

Gets the current live edit mode.

Returns:

boolean - The current live edit mode.
Enables or disables live edit mode.

Params:

NameTypeDefaultDescription
valueboolean
false
Value to set.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Getter for the timeline header.

Returns:

anychart.core.gantt.TimelineHeader - The timeline header.
Setter for the timeline header.

Params:

NameTypeDescription
valueObjectObject with settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

horizontalScrollBar

Getter for the horizontal scroll bar.

Returns:

anychart.core.ui.ScrollBar - Scroll bar.
Setter for the horizontal scroll bar.

Params:

NameTypeDescription
valueObjectObject with settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

labels

Getter for the current labels factory.

Returns:

anychart.core.ui.LabelsFactory - The current labels factory
Setter for the labels factory.

Params:

NameTypeDefaultDescription
valueObject
true
Value to be set.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

lineMarker

Getter for the current line marker.

Params:

NameTypeDefaultDescription
indexnumber
0
Line marker index. If not set - creates a new instance and adds it to the end of array.

Returns:

anychart.core.axisMarkers.GanttLine - Line marker instance by index.
Setter for the line marker.

Params:

NameTypeDescription
valueObject | boolean | nullLine marker settings to set.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Setter for the line marker by index.

Params:

NameTypeDescription
indexnumberLine marker index.
valueObject | boolean | null | anychart.enums.GanttDateTimeMarkersLine marker settings to set.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

markers

Getter for the current markers factory.

Returns:

anychart.core.ui.MarkersFactory - The current markers factory.
Setter for the markers factory.

Params:

NameTypeDescription
valueObjectValue to be set.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

milestoneFill

Getter for the current milestone fill.

Returns:

anychart.graphics.vector.Fill | string - The current milestone fill.
Sets milestone fill settings using an object or a string. Learn more about coloring.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Fill
{keys: Array["#FAE096", "#EB8344"], angle: -90, mode: false, opacity: 1}
Color as an object or a string.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Fill color with opacity. Fill as a string or an object.

Params:

NameTypeDefaultDescription
colorstring
'#ccd7e1'
Color as a string.
opacitynumber
Color opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Linear gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Gradient keys.
anglenumberGradient angle.
modeboolean | anychart.graphics.vector.Rect | ObjectGradient mode.
opacitynumberGradient opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Radial gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Color-stop gradient keys.
cxnumberX ratio of center radial gradient.
cynumberY ratio of center radial gradient.
modeanychart.graphics.math.RectIf defined then userSpaceOnUse mode, else objectBoundingBox.
opacitynumberOpacity of the gradient.
fxnumberX ratio of focal point.
fynumberY ratio of focal point.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

Params:

NameTypeDescription
imageSettingsanychart.graphics.vector.FillObject with settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

milestoneStroke

Getter for the current milestone stroke settings.

Returns:

anychart.graphics.vector.Stroke | string - The current milestone stroke settings.
Setter for the milestone stroke settings.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
"#000000"
Stroke settings.
thicknessnumber
1
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinanychart.graphics.vector.StrokeLineJoin
Line join style.
lineCapanychart.graphics.vector.StrokeLineCap
Line join style.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

parentFill

Getter for the current parent fill.

Returns:

anychart.graphics.vector.Fill | string - The current parent fill.
Sets parent fill settings using an object or a string. Learn more about coloring.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Fill
{keys: Array["#646464", "#282828"], angle: -90, mode: false, opacity: 1}
Color as an object or a string.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Fill color with opacity. Fill as a string or an object.

Params:

NameTypeDefaultDescription
colorstring
'#ccd7e1'
Color as a string.
opacitynumber
Color opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Linear gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Gradient keys.
anglenumberGradient angle.
modeboolean | anychart.graphics.vector.Rect | ObjectGradient mode.
opacitynumberGradient opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Radial gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Color-stop gradient keys.
cxnumberX ratio of center radial gradient.
cynumberY ratio of center radial gradient.
modeanychart.graphics.math.RectIf defined then userSpaceOnUse mode, else objectBoundingBox.
opacitynumberOpacity of the gradient.
fxnumberX ratio of focal point.
fynumberY ratio of focal point.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

Params:

NameTypeDescription
imageSettingsanychart.graphics.vector.FillObject with settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

parentStroke

Getter for the current parent stroke settings.

Returns:

anychart.graphics.vector.Stroke | string - The current parent stroke settings.
Setter for the parent stroke settings. Learn more about stroke settings.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
"#000000"
Stroke settings.
thicknessnumber
1
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinanychart.graphics.vector.StrokeLineJoin
Line join style.
lineCapanychart.graphics.vector.StrokeLineCap
Line join style.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

progressFill

Getter for the current progress bar fill.

Returns:

anychart.graphics.vector.Fill | string - The current progress bar fill.
Sets progress fill settings using an object or a string. Learn more about coloring.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Fill
{keys: Array["#63FF78", "#3DC351", "#188E2D"], angle: -90, mode: false, opacity: 1}
Color as an object or a string.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Fill color with opacity. Fill as a string or an object.

Params:

NameTypeDefaultDescription
colorstring
'#ccd7e1'
Color as a string.
opacitynumber
Color opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Linear gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Gradient keys.
anglenumberGradient angle.
modeboolean | anychart.graphics.vector.Rect | ObjectGradient mode.
opacitynumberGradient opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Radial gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Color-stop gradient keys.
cxnumberX ratio of center radial gradient.
cynumberY ratio of center radial gradient.
modeanychart.graphics.math.RectIf defined then userSpaceOnUse mode, else objectBoundingBox.
opacitynumberOpacity of the gradient.
fxnumberX ratio of focal point.
fynumberY ratio of focal point.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

Params:

NameTypeDescription
imageSettingsanychart.graphics.vector.FillObject with settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

progressStroke

Getter for the current progress stroke settings.

Returns:

anychart.graphics.vector.Stroke | string - The current progress stroke settings.
Setter for the progress bar stroke settings. Learn more about stroke settings.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
"#006616"
Stroke settings.
thicknessnumber
1
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinanychart.graphics.vector.StrokeLineJoin
Line join style.
lineCapanychart.graphics.vector.StrokeLineCap
Line join style.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

rangeMarker

Getter for the current range marker.

Params:

NameTypeDescription
indexnumberRange marker index.

Returns:

anychart.core.axisMarkers.GanttRange - Range marker instance by index.
Setter for the range marker.

Params:

NameTypeDescription
valueObject | boolean | nullRange marker settings to set.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Getter for the range marker by index.

Params:

NameTypeDescription
indexnumberRange marker index.
valueObject | boolean | null | anychart.enums.GanttDateTimeMarkersRange marker settings to set.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

rowEvenFill

Getter for row even fill.

Returns:

anychart.graphics.vector.Fill | string - Current value row even fill.
Sets row even fill settings using an object or a string. Learn more about coloring.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Fill
"#fff"
Color as an object or a string.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Fill color with opacity. Fill as a string or an object.

Params:

NameTypeDescription
colorstringColor as a string.
opacitynumberColor opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Linear gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Gradient keys.
anglenumberGradient angle.
modeboolean | anychart.graphics.vector.Rect | ObjectGradient mode.
opacitynumberGradient opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Radial gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Color-stop gradient keys.
cxnumberX ratio of center radial gradient.
cynumberY ratio of center radial gradient.
modeanychart.graphics.math.RectIf defined then userSpaceOnUse mode, else objectBoundingBox.
opacitynumberOpacity of the gradient.
fxnumberX ratio of focal point.
fynumberY ratio of focal point.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

Params:

NameTypeDescription
imageSettingsanychart.graphics.vector.FillObject with settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

rowFill

Getter for row fill.

Returns:

anychart.graphics.vector.Fill | string - Current value row fill.
Sets row fill settings using an array or a string. Resets odd fill and even fill. Learn more about coloring.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Fill
"#fff"
Color as an array or a string.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Fill color with opacity. Fill as a string or an object.

Params:

NameTypeDescription
colorstringColor as a string.
opacitynumberColor opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Linear gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Gradient keys.
anglenumberGradient angle.
modeboolean | anychart.graphics.vector.Rect | ObjectGradient mode.
opacitynumberGradient opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Radial gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Color-stop gradient keys.
cxnumberX ratio of center radial gradient.
cynumberY ratio of center radial gradient.
modeanychart.graphics.math.RectIf defined then userSpaceOnUse mode, else objectBoundingBox.
opacitynumberOpacity of the gradient.
fxnumberX ratio of focal point.
fynumberY ratio of focal point.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

Params:

NameTypeDescription
imageSettingsanychart.graphics.vector.FillObject with settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

rowHoverFill

Getter for row hover fill.

Returns:

anychart.graphics.vector.Fill | string - Current value row hover fill.
Sets row hover fill settings using an object or a string. Learn more about coloring.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Fill
"#edf8ff"
Color as an object or a string.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Fill color with opacity. Fill as a string or an object.

Params:

NameTypeDescription
colorstringColor as a string.
opacitynumberColor opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Linear gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Gradient keys.
anglenumberGradient angle.
modeboolean | anychart.graphics.vector.Rect | ObjectGradient mode.
opacitynumberGradient opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Radial gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Color-stop gradient keys.
cxnumberX ratio of center radial gradient.
cynumberY ratio of center radial gradient.
modeanychart.graphics.math.RectIf defined then userSpaceOnUse mode, else objectBoundingBox.
opacitynumberOpacity of the gradient.
fxnumberX ratio of focal point.
fynumberY ratio of focal point.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

rowOddFill

Getter for row odd fill.

Returns:

anychart.graphics.vector.Fill | string - Current value row odd fill.
Sets row odd fill settings using an object or a string. Learn more about coloring.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Fill
"#fff"
Color as an object or a string.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Fill color with opacity. Fill as a string or an object.

Params:

NameTypeDescription
colorstringColor as a string.
opacitynumberColor opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Linear gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Gradient keys.
anglenumberGradient angle.
modeboolean | anychart.graphics.vector.Rect | ObjectGradient mode.
opacitynumberGradient opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Radial gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Color-stop gradient keys.
cxnumberX ratio of center radial gradient.
cynumberY ratio of center radial gradient.
modeanychart.graphics.math.RectIf defined then userSpaceOnUse mode, else objectBoundingBox.
opacitynumberOpacity of the gradient.
fxnumberX ratio of focal point.
fynumberY ratio of focal point.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

Params:

NameTypeDescription
imageSettingsanychart.graphics.vector.FillObject with settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

rowSelectedFill

Getter for row fill in selected mode.

Returns:

anychart.graphics.vector.Fill | string - Current value row fill in selected mode.
Sets row fill settings in selected mode using an array or a string. Learn more about coloring.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Fill
Color as an object or a string.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Fill color in selected mode with opacity. Fill as a string or an object.

Params:

NameTypeDescription
colorstringColor as a string.
opacitynumberColor opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Linear gradient fill in selected mode. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Gradient keys.
anglenumberGradient angle.
modeboolean | anychart.graphics.vector.Rect | ObjectGradient mode.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Radial gradient fill in selected mode. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Color-stop gradient keys.
cxnumberX ratio of center radial gradient.
cynumberY ratio of center radial gradient.
modeanychart.graphics.math.RectIf defined then userSpaceOnUse mode, else objectBoundingBox.
opacitynumberOpacity of the gradient.
fxnumberX ratio of focal point.
fynumberY ratio of focal point.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

Params:

NameTypeDescription
imageSettingsanychart.graphics.vector.FillObject with settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

scale

Getter for the timeline scale.

Returns:

anychart.scales.GanttDateTime - Default Gantt chart timeline scale value.
Setter for the timeline scale.

Params:

NameTypeDescription
valueObjectScale object.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

selectedElementFill

Getter for the current selected element fill.

Returns:

anychart.graphics.vector.Fill | string - The current selected element fill.
Sets selected element fill settings using an object or a string. Learn more about coloring.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Fill
{keys: Array["#f1b8b9", "#f07578"], angle: -90, mode: false, opacity: 1}
Color as an object or a string.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Fill color with opacity. Fill as a string or an object.

Params:

NameTypeDefaultDescription
colorstring
'#ccd7e1'
Color as a string.
opacitynumber
Color opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Linear gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Gradient keys.
anglenumberGradient angle.
modeboolean | anychart.graphics.vector.Rect | ObjectGradient mode.
opacitynumberGradient opacity.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Radial gradient fill. Learn more about coloring.

Params:

NameTypeDescription
keysArray.<(anychart.graphics.vector.GradientKey|string)>Color-stop gradient keys.
cxnumberX ratio of center radial gradient.
cynumberY ratio of center radial gradient.
modeanychart.graphics.math.RectIf defined then userSpaceOnUse mode, else objectBoundingBox.
opacitynumberOpacity of the gradient.
fxnumberX ratio of focal point.
fynumberY ratio of focal point.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

Params:

NameTypeDescription
imageSettingsanychart.graphics.vector.FillObject with settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

selectedElementStroke

Getter for the current selected element on timeline stroke settings.

Returns:

anychart.graphics.vector.Stroke | string - The current connector stroke settings.
Setter for the selected element on timeline stroke settings. Learn more about stroke settings.

Params:

NameTypeDefaultDescription
valueanychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
"#000090"
Stroke settings.
thicknessnumber
1
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinanychart.graphics.vector.StrokeLineJoin
Line join style.
lineCapanychart.graphics.vector.StrokeLineCap
Line join style.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

textMarker

Getter for the current text marker.

Params:

NameTypeDescription
indexnumberText marker index.

Returns:

anychart.core.axisMarkers.GanttText - Text marker instance by index.
Setter for the text marker.

Params:

NameTypeDescription
valueObject | boolean | nullText marker settings to set.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.
Setter for text marker by index.

Params:

NameTypeDescription
indexnumberText marker index.
valueObject | boolean | null | anychart.enums.GanttDateTimeMarkersText marker settings to set.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

tooltip

Getter for tooltip settings.

Returns:

anychart.core.ui.Tooltip - Tooltip instance.
Setter for tooltip.

Params:

NameTypeDefaultDescription
valueObject | boolean | null
true
Tooltip settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.

verticalScrollBar

Getter for the vertical scroll bar.

Returns:

anychart.core.ui.ScrollBar - Scroll bar.
Setter for the vertical scroll bar.

Params:

NameTypeDescription
valueObjectObject with settings.

Returns:

anychart.core.ui.Timeline - Self instance for method chaining.