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:
Name | Type | Description |
---|---|---|
data | anychart.data.Set | Array.<Array.<number>> | string | Data 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.Try it:
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:
Name | Type | Description |
---|---|---|
value | anychart.core.surface.markers.droplines.Config |
Returns:
anychart.core.surface.markers.Controller - Self instance.enabled
Getter for markers enabled state.
Returns:
boolean -Setter for markers enabled state.
Params:
Name | Type | Description |
---|---|---|
value | boolean |
Returns:
anychart.core.surface.markers.Controller -Try it:
fill
Getter for the marker stroke settings.
Returns:
anychart.graphics.vector.Fill -Setter for the marker stroke settings.
Params:
Name | Type | Description |
---|---|---|
value | anychart.graphics.vector.Fill |
Returns:
anychart.core.surface.markers.Controller -Try it:
size
Getter for the marker size.
Returns:
number -Setter for the marker size.
Params:
Name | Type | Description |
---|---|---|
value | number |
Returns:
anychart.core.surface.markers.Controller -Try it:
stroke
Getter for the marker stroke settings.
Returns:
anychart.graphics.vector.Stroke - Stroke settings.Setter for the marker stroke settings.
Params:
Name | Type | Description |
---|---|---|
value | anychart.graphics.vector.Stroke |
Try it:
tooltip
Getter for the markers tooltip.
Returns:
anychart.core.ui.Tooltip -Setter for the markers tooltip.
Params:
Name | Type | Description |
---|---|---|
value | object | Tooltip configuration object. |
Returns:
anychart.core.surface.markers.Controller -Try it:
type
Getter for the marker type.
Params:
Name | Type | Description |
---|---|---|
value | anychart.enums.MarkerType |
Returns:
anychart.core.surface.markers.Controller -