AnyChart
API Reference
Still have questions?
Contact support
Top

class anychart.core.gantt.Overlay Improve this Doc

Extends: anychart.core.Base

Overlay element class.

Methods Overview

Specific settings
className()Name of DIV class.
enabled()Enabled state.
id()DIV identifier.
Miscellaneous
getElement()Gets the overlay DOM element.

Methods Description

className

Getter for the name of DIV class.

Returns:

string - The name of DIV class.
See listing
var id = overlay.className();
Setter for the name of DIV class.

Params:

NameTypeDescription
namestringClass name to set.

Returns:

anychart.core.gantt.Overlay - Self instance for method chaining.

enabled

Getter for the enabled state.

Returns:

boolean | null - Enabled state.
See listing
var state = overlay.enabled();
Setter for the enabled state.

Params:

NameTypeDescription
enabledbooleanEnabled state.

Returns:

anychart.core.gantt.Overlay - Self instance for method chaining.

getElement

Gets the overlay DOM element.

Returns:

Element - Overlay DOM element.

id

Getter for the DIV identifier.

Returns:

string - DIV Element id.
See listing
var id = overlay.id();
Setter for the DIV identifier.

Params:

NameTypeDescription
idstringDIV identifier to set.

Returns:

anychart.core.gantt.Overlay - Self instance for method chaining.