You are browsing a class reference for deprecated Version 2 of the JavaScript Charts.
Documentation for other versions: amCharts 4 (current) or amCharts 3.
ImagesSettings is a class which holds common settings of all MapImage objects.
Property | Type | Default | Description |
---|---|---|---|
alpha | Number | 1 | Opacity of the image. |
balloonText | String | [[title]] | Text which is displayed in a roll-over balloon. You can use the following tags: [[title]], [[description]], [[value]] and [[percent]]. |
centered | Boolean | true | Specifies if the image's center should be placed in the provided coordinates. If false, top-left corner will be at provided coordinates. |
color | String | #000000 | Color of image. This will affect only predefined images (with "type" property set) and images with svgPath set. This property won't affect bitmap images and loaded SVG images. |
descriptionWindowHeight | Number | Height of a description window. | |
descriptionWindowWidth | Number | 250 | Width of a description window. |
descriptionWindowX | Number | X position of a description window. | |
descriptionWindowY | Number | Y position of a description window. | |
labelColor | String | #000000 | Label color. |
labelFontSize | Number | 11 | Font size of a label. |
labelPosition | String | right | Position of the label. Allowed values are: left, right, top, bottom and middle. |
labelRollOverColor | String | #00CC00 | Label roll-over color. |
outlineAlpha | Number | 0 | Opacity of image outline. This will affect only predefined images (with "type" property set) and images with svgPath set. This property won't affect bitmap images and loaded SVG images. |
outlineColor | String | Color of image outline. This will affect only predefined images (with "type" property set) and images with svgPath set. This property won't affect bitmap images and loaded SVG images. | |
outlineThickness | Number | 1 | Thickness of image outline. This will affect only predefined images (with "type" property set) and images with svgPath set. This property won't affect bitmap images and loaded SVG images. |
rollOverColor | String | Color of image when hovered. This will affect only predefined images (with "type" property set) and images with svgPath set. This property won't affect bitmap images and loaded SVG images. | |
rollOverScale | Number | 1 | Scale of the image when hovered. Use value like 1.5 - 2 to enlarge image when user rolls-over it. |
selectedLabelColor | String | Label color in case the image is selected. | |
selectedScale | Number | 1 | Scale of the image if it is selected. Use value like 1.5 - 2 to enlarge selected image. |
Name | Parameters | Returns | Description |
---|---|---|---|
descriptionWindowX | X position of a description window. |