Type class
LinesSettings is a class which defines the default settings for all MapLine objects.
Example
var map = AmCharts.makeChart("mapdiv",{ ... linesSettings: { arrowAlpha: 0.5 } });
Inheritance
LinesSettings does not extend any other symbol.
LinesSettings is not extended by any other symbol.
Properties
accessibleLabel # |
Type Text which screen readers will read if user rolls-over the line or sets focus using tab key (this is possible only if tabIndex property of LinesSettings or individual line is set to some number). Text is added as aria-label tag. Note - not all screen readers and browsers support this. |
---|---|
alpha # |
Type Default Opacity of the line. |
arc # |
Type Default Using this setting you can make lines to be curved, or actually to make them look like arcs. Note, there is one limitation - this works well with two-point lines only. You can also set arc for MapLine individually. |
arrow # |
Type Default Position of the arrows. Possible values are "start", "end", "middle", "both" and "none". |
arrowAlpha # |
Type Default Opacity of the arrows. |
arrowColor # |
Type Arrow color. Will use line color if not set. |
arrowSize # |
Type Default Size of the arrows. |
balloonText # |
Type Default Text which is displayed in a roll-over balloon. You can use the following tags: [[title]], [[description]], [[value]] and [[percent]]. To disable the balloons, set it to an empty string. |
bringForwardOnHover # |
Type Default Specifies if line should change it's z-index to the most top when user hovers it. |
color # |
Type Default Line color. |
dashLength # |
Type Default Length of a dash. 0 means line is not dashed. |
descriptionWindowBottom # |
Type Distance from the bottom side of map container to the description window. In case it is not set (also if descriptionWindowTop is not set), window will be placed near the mouse pointer. |
descriptionWindowHeight # |
Type Height of a description window. |
descriptionWindowLeft # |
Type Distance from the left side of map container to the description window. In case it is not set (also if descriptionWindowRight is not set), window will be placed near the mouse pointer. |
descriptionWindowRight # |
Type Distance from the right side of map container to the description window. In case it is not set (also if descriptionWindowLeft is not set), window will be placed near the mouse pointer. |
descriptionWindowTop # |
Type Distance from the top side of map container to the description window. In case it is not set (also if descriptionWindowBottom is not set), window will be placed near the mouse pointer. |
descriptionWindowWidth # |
Type Default Width of a description window. |
tabIndex # |
Type In case you set it to some number, the map will set focus on lines (one by one) when user clicks tab key. When a focus is set, screen readers like NVDA Screen reader will read label which is set using accessibleLabel property of LinesSettings or individual line. If area is clickable, pressing Enter/Return while focus is set will select the line. Note, not all browsers and readers support this. |
thickness # |
Type Default Line thickness. |
Methods
LinesSettings does not have any methods.
Events
LinesSettings does not have any events.
Adapters
LinesSettings does not have any adapters.