class anychart.core.axes.TimelineTicks Improve this Doc
Extends: anychart.core.VisualBase
Timeline chart axis ticks.
Methods Description
stroke
Getter for stroke settings.
Returns:
anychart.graphics.vector.Stroke - Returns stroke settings.Setter for stroke settings via single parameter.
Params:
Name | Type | Default | Description |
---|---|---|---|
color | anychart.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:
The following options are acceptable:
- String formatted as '[thickness ]color[ opacity]':
- 'color' - https://www.w3schools.com/html/html_colors.asp.
- 'thickness color' - like a CSS border, e.g. '3 red' or '3px red'
- 'color opacity' - as a fill string, e.g. '#fff 0.5'
- 'thickness color opacity' - as a complex string, e.g. '3px #00ff00 0.5'
- anychart.graphics.vector.Stroke object
- Keys array anychart.graphics.vector.GradientKey
- null - reset current stroke settings.
Params:
Name | Type | Default | Description |
---|---|---|---|
color | string | Stroke color. | |
thickness | number | 1 | Line thickness. |
dashpattern | string | Controls the pattern of dashes and gaps used to stroke paths. | |
lineJoin | string | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
lineCap | string | 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:
Name | Type | Description |
---|---|---|
settings | Object | Object with stroke settings from anychart.graphics.vector.Stroke |
Returns:
anychart.core.axes.TimelineTicks - Self instance for method chaining.