Top
You are looking at an outdated 7.0.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
direction()Get/set direction.
fill()Get/set range marker fill.
from()Get/set starting marker value.
isHorizontal()Defines marker direction
parentBounds()Getter for parentBounds.
scale()Getter for the axis scale.
to()Get/set ending marker value.

Methods Description

direction

Get/set direction.

Params:

Name Type Description
value anychart.utils.Direction RangeMarker direction.

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 direction

Returns:

boolean - If the marker is horizontal.

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.