AnyChart
API Reference
Still have questions?
Contact support
Top

class anychart.core.surface.markers.Controller Improve this Doc

Extends: anychart.core.Base

Surface markers controller.

Methods Overview

Coloring
fill()Stroke settings.
stroke()Stroke settings.
Data
data()Data settings.
Miscellaneous
droplines()Getter for Droplines.
enabled()Getter for markers enabled state.
size()Getter for the marker size.
tooltip()Getter for the markers tooltip.
type()Getter for the marker type.

Methods Description

data

Getter for the data.

Returns:

anychart.data.View - The data view.
See listing
var data = chart.markers().data();
Setter for the data.

Params:

NameTypeDescription
dataanychart.data.Set | Array.<Array.<number>> | stringData to set {(anychart.enums.TextParsingMode|string|anychart.data.TextParsingSettings)=} opt_csvSettings If CSV string is passed by first param, you can pass CSV parser settings here as a hash map.

Returns:

anychart.core.surface.markers.Controller - Self instance for method chaining.

droplines

Getter for Droplines.

Returns:

anychart.core.surface.markers.droplines.Controller - Markers dropline controller.
Example
var controller = chart.markers().droplines();
Setter for droplines config.

Params:

NameTypeDescription
valueanychart.core.surface.markers.droplines.Config

enabled

Getter for markers enabled state.

Returns:

boolean -
Setter for markers enabled state.

Params:

NameTypeDescription
valueboolean

fill

Getter for the marker stroke settings.
Setter for the marker stroke settings.

Params:

NameTypeDescription
valueanychart.graphics.vector.Fill

size

Getter for the marker size.

Returns:

number -
Setter for the marker size.

Params:

NameTypeDescription
valuenumber

stroke

Getter for the marker stroke settings.

Returns:

anychart.graphics.vector.Stroke - Stroke settings.
Setter for the marker stroke settings.

Params:

NameTypeDescription
valueanychart.graphics.vector.Stroke

tooltip

Getter for the markers tooltip.
Setter for the markers tooltip.

Params:

NameTypeDescription
valueobjectTooltip configuration object.

type