AnyChart
API Reference
Still have questions?
Contact support
Top

class anychart.palettes.Markers Improve this Doc

Extends: anychart.core.Base

Marker palette class.

Methods Overview

Specific settings
itemAt()Marker by index.
items()Palette markers list.

Methods Description

itemAt

Getter for type palette markers from list by index.

Params:

NameTypeDescription
indexnumberIndex to get type.

Returns:

anychart.enums.MarkerType | string | anychart.enums.BulletMarkerType - Marker type by index.
Setter for type palette markers from list by index.

Params:

NameTypeDescription
indexnumberIndex to set marker type.
typeanychart.enums.MarkerType | anychart.enums.BulletMarkerType | stringType of the marker to set.

Returns:

anychart.palettes.Markers - Self instance for method chaining.

items

Getter for markers list of palette.

Returns:

Array.<string> | string | anychart.enums.MarkerType | anychart.enums.BulletMarkerType - Markers list.
Setter for markers list of palette.

Params:

NameTypeDescription
typeArray.<string> | string | anychart.enums.MarkerType | anychart.enums.BulletMarkerTypeMarkers palette list to set.
var_argsstringAnother types.

Returns:

anychart.palettes.Markers - Self instance for method chaining.