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

class anychart.axisMarkers.Line Improve this Doc

Methods Overview

Miscellaneous
container()Getter for the line marker current container.
draw()Drawing a line marker.
parentBounds()Getter for bounds.

Methods Description

container

Getter for the line marker current container.

Returns:

anychart.graphics.vector.ILayer - The current container.
Setter for the line marker current container.

Params:

Name Type Description
value anychart.graphics.vector.ILayer | string | Element The value to set.

Returns:

anychart.axisMarkers.Line - Self instance for method chaining.

Try it:

draw

Drawing a line marker.

Returns:

anychart.axisMarkers.Line - Self instance for method chaining.

Try it:

parentBounds

Getter for bounds.

Returns:

anychart.math.Rect - Current stage bounds.
Setter for bounds using single value.

Params:

Name Type Description
value anychart.math.Rect | Object | null Value to set

Returns:

anychart.axisMarkers.Line - Self instance for method chaining.

Try it:

Setter for bounds using several values.

Params:

Name Type Description
left number Left space
top number Top space
width number Width line marker
height number Height line marker

Returns:

anychart.axisMarkers.Line - Self instance for method chaining.

Try it: