class anychart.core.utils.Crossing Improve this Doc
Extends: anychart.core.Base
Crossing class. The crossing class is used in quadrant chart.
Learn more about the crossing.
Methods Description
stroke
Getter for the crosslines stroke.
Returns:
anychart.graphics.vector.Stroke - Crosslines stroke settings. See listing
var stroke = crossing.stroke();
Setter for the crosslines stroke.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| color | anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null | Stroke settings. | |
| thickness | number | 1 | Line thickness. |
| dashpattern | string | Controls the pattern of dashes and gaps used to stroke paths. | |
| lineJoin | anychart.graphics.vector.StrokeLineJoin | Line joint style. | |
| lineCap | anychart.graphics.vector.StrokeLineCap | Line cap style. |
Returns:
anychart.core.utils.Crossing - Self instance for method chaining.Try it:
Setter for stroke using an object.
Params:
| Name | Type | Description |
|---|---|---|
| settings | Object | Stroke settings from anychart.graphics.vector.Stroke. |
Returns:
anychart.core.utils.Crossing - Self instance for method chaining.Try it:
