AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated 7.3.0 version of this document. Switch to the 8.3.0 version to see the up to date information.

class anychart.core.axisMarkers.Range Improve this Doc

Extends: anychart.core.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.
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.core.axisMarkers.Range - 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.core.axisMarkers.Range - 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.

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.core.axisMarkers.Range - An instance of the anychart.core.axisMarkers.Range class for method chaining.

to

Get/set ending marker value.

Params:

Name Type Description
newValue number RangeMarker value settings.

Returns:

number anychart.core.axisMarkers.Range - RangeMarker value settings or RangeMarker instance for method chaining.