class anychart.core.graph.elements.edges.arrows.Controller Improve this Doc
The arrows controller constructor.
Methods Overview
Miscellaneous | |
enabled() | Enabled setting. |
position() | Position setting. |
size() | Size setting. |
Methods Description
enabled
Getter for the arrows enabled state.
Returns:
boolean - Arrows enabled state. See listing
var enabled = chart.edges().arrows().enabled(); // 'false' It disabled by default. console.log('Is arrows enabled, enabled);
Setter the arrows enabled state.
Params:
Name | Type | Description |
---|---|---|
enabled | boolean | New enabled state for the arrows. |
Returns:
anychart.core.graph.elements.edges.arrows.Controller - Self instance for method chaining.Try it:
position
Getter for the arrows position.
Returns:
string | number - Arrows position represented as percent or as ratio. See listing
var position = chart.edges().arrows().position(); console.log('Arrows position', position);
Setter for the arrows position.
Params:
Name | Type | Description |
---|---|---|
position | string | number | Position value represented as ration or percent. |
Returns:
anychart.core.graph.elements.edges.arrows.Controller - Self instance for method chaining.Try it:
size
Getter for the arrows size.
Returns:
number - Size in pixels. See listing
var size = chart.edges().arrows().size(); console.log('Arrows size', size);
Setter for the arrows size.
Params:
Name | Type | Description |
---|---|---|
size | number | The arrows size in pixels. |
Returns:
anychart.core.graph.elements.edges.arrows.Controller - Self instance for method chaining.Try it: