AnyChart
API Reference
Still have questions?
Contact support
Top

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 Overview

Coloring
stroke()Stroke settings.

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:

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

Returns:

anychart.core.utils.Crossing - Self instance for method chaining.
Setter for stroke using an object.

Params:

NameTypeDescription
settingsObjectStroke settings from anychart.graphics.vector.Stroke.

Returns:

anychart.core.utils.Crossing - Self instance for method chaining.