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

class anychart.elements.RangeMarker Improve this Doc

Extends: anychart.VisualBase

Range marker.

Methods Overview

Miscellaneous
fill()Get/set range marker fill.
from()Get/set starting marker value.
isHorizontal()Defines marker layout
layout()Get/set layout.
parentBounds()Getter for parentBounds.
scale()Getter for the axis scale.
to()Get/set ending marker value.

Methods Description

fill

Get/set range marker fill.

Params:

Name Type Description
value string | anychart.graphics.vector.Fill RangeMarker line settings.

Returns:

string anychart.graphics.vector.Fill anychart.elements.RangeMarker - RangeMarker line settings or RangeMarker instance for method chaining.

from

Get/set starting marker value.

Params:

Name Type Description
newValue number RangeMarker value settings.

Returns:

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

isHorizontal

Defines marker layout

Returns:

boolean - If the marker is horizontal.

layout

Get/set layout.

Params:

Name Type Description
value anychart.enums.Layout RangeMarker 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.RangeMarker - An instance of the anychart.elements.RangeMarker class 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.RangeMarker - An instance of the anychart.elements.RangeMarker class for method chaining.

to

Get/set ending marker value.

Params:

Name Type Description
newValue number RangeMarker value settings.

Returns:

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