Important version information!

You are browsing a class reference for Version 2 of the JavaScript Charts. If you are using Version 3 (current), please click here.

AreasSettings

AreasSettings is a class which holds common settings of all MapArea objects.

Properties

PropertyTypeDefaultDescription
alphaNumber1Opacity of areas.
autoZoomBooleanfalseSpecifies if the areas should be zoomed-in when user clicks on them, event if zoom properties are not set.
balloonTextString[[title]]Text which is displayed in a roll-over balloon. You can use the following tags: [[title]], [[description]], [[value]] and [[percent]]
colorString#FFCC00Color of the areas.
colorSolidString#990000Color of area with highest value. Colors for areas with values less then highest will be colored with intermediate colors between color and colorSolid. Use colorSteps property of AmMap to change the number of intermediate colors.
descriptionWindowHeightNumberHeight of a description window.
descriptionWindowWidthNumber250Width of a description window.
descriptionWindowXNumberX position of a description window.
descriptionWindowYNumberY position of a description window.
outlineAlphaNumber1Opacity of area's outline.
outlineColorString#FFFFFFColor of area's outline.
outlineThicknessNumber0.5Thickness of area's outline.
rollOverColorStringundefinedColor of area when user rolls-over it.
rollOverOutlineColorString#CC0000Color of area's outline when user rolls-over it.
selectableBooleanSpecifies if areas are selectable, even no zoom/description/url is set.
selectedColorString#CC0000Color of area which is currently selected.
selectedOutlineColorStringColor of selected area's outline.
unlistedAreasAlphaNumber1Opacity of all areas which are in the map svg file, but not listed as areas in DataSet.
unlistedAreasColorString#DDDDDDColor of all areas which are in the map svg file, but not listed as areas in DataSet.
unlistedAreasOutlineAlphaNumber1Opacity of all areas' outline which are in the map svg file, but not listed as areas in DataSet.
unlistedAreasOutlineColorString#FFFFFFColor of all areas' outline which are in the map svg file, but not listed as areas in DataSet.

Methods

AreasSettings class does not have any methods.

Events

AreasSettings class does not have any events.