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

class anychart.palettes.Markers Improve this Doc

Extends: anychart.core.Base

Marker palette.

Methods Overview

Miscellaneous
markerAt()Getter for the marker by index.
markers()Getter for markers list of palette.

Methods Description

markerAt

Getter for the marker by index.

Params:

Name Type Description
index number Index of marker to get.

Returns:

anychart.enums.MarkerType anychart.enums.BulletMarkerType - Current marker by index.

Try it:

Setter for the marker by index.

Params:

Name Type Description
index number Index of marker to set.
type string Type of the marker to set.

Returns:

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

Try it:

markers

Getter for markers list of palette.

Returns:

Array.<string> - Current markers list.
Setter for markers list of palette.

Params:

Name Type Description
value Array.<string> Value to set.

Returns:

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

Try it: