Top
You are looking at an outdated 7.1.1 version of this document. Switch to the 8.0.1 version to see the up to date information.

class anychart.elements.LineMarker Improve this Doc

Extends: anychart.VisualBase

Line marker.

Methods Overview

Miscellaneous
isHorizontal()Whether marker is horizontal
layout()Get/set line marker layout.
parentBounds()Getter for parentBounds.
scale()Getter for the axis scale.
stroke()Get/set line marker stroke.
value()Get/set value.

Methods Description

isHorizontal

Whether marker is horizontal

Returns:

boolean - If the marker is horizontal.

layout

Get/set line marker layout.

Params:

Name Type Description
value anychart.enums.Layout LineMarker layout.

parentBounds

Getter for parentBounds.

Returns:

anychart.graphics.math.Rect - Current parent bounds.
Setter for parentBounds.

Params:

Name Type Description
value anychart.graphics.math.Rect Value to set.

Returns:

anychart.elements.LineMarker - anychart.elements.LineMarker instance for method chaining.

scale

Getter for the axis scale.

Returns:

anychart.scales.Base - Axis scale.
Setter for axis scale.

Params:

Name Type Description
value anychart.scales.Base Value to set.

Returns:

anychart.elements.LineMarker - anychart.elements.LineMarker instance for method chaining.

stroke

Get/set line marker stroke.

Params:

Name Type Description
value string | anychart.graphics.vector.Stroke LineMarker line settings.

Returns:

string anychart.graphics.vector.Stroke anychart.elements.LineMarker - LineMarker line settings or LineMarker instance for method chaining.

value

Get/set value.

Params:

Name Type Description
newValue number LineMarker value settings.

Returns:

number anychart.elements.LineMarker - LineMarker value settings or LineMarker instance for method chaining.