AnyChart
API Reference
Still have questions?
Contact support
Top

class anychart.core.axes.TimelineTicks Improve this Doc

Extends: anychart.core.VisualBase

Timeline chart axis ticks.

Methods Overview

Coloring
stroke()Stroke settings.

Methods Description

stroke

Getter for stroke settings.

Returns:

anychart.graphics.vector.Stroke - Returns stroke settings.
Setter for stroke settings via single parameter.

Params:

NameTypeDefaultDescription
coloranychart.graphics.vector.Stroke
'#cecece'
Fill style as '[thickness ]color[ opacity]'.

Returns:

anychart.core.axes.TimelineTicks - Self instance for method chaining.
Setter for stroke settings via several parameter.
The following options are acceptable: Note: String parts order is significant and '3px red' is not the same as 'red 3px'.

Params:

NameTypeDefaultDescription
colorstring
Stroke color.
thicknessnumber
1
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinstring | anychart.graphics.vector.StrokeLineJoin
Line join style.
lineCapstring | anychart.graphics.vector.StrokeLineCap
Line cap style.

Returns:

anychart.core.axes.TimelineTicks - Self instance for method chaining.
Setter for stroke settings using an object.

Params:

NameTypeDescription
settingsObjectObject with stroke settings from anychart.graphics.vector.Stroke

Returns:

anychart.core.axes.TimelineTicks - Self instance for method chaining.