| 1 |
liveuser |
1 |
###############################################################################################################################
|
|
|
2 |
|
|
|
3 |
Since version 3.8.9, change log moved to: http://www.amcharts.com/javascript-maps/changelog/
|
|
|
4 |
|
|
|
5 |
#### 3.8.8 ####################################################################################################################
|
|
|
6 |
|
|
|
7 |
# two finger zoom with touch devices fixed.
|
|
|
8 |
|
|
|
9 |
#### 3.8.7 ####################################################################################################################
|
|
|
10 |
|
|
|
11 |
# link to amCharts.com site in a free version was made less noticable - it uses chart's font color and font size and you
|
|
|
12 |
can adjust it's position using creditsPosition property of AmChart. Possible values are: top-left, top-right, bottom-right
|
|
|
13 |
and bottom-left. This will help you to achieve better layout of a chart.
|
|
|
14 |
|
|
|
15 |
#### 3.8.6 ####################################################################################################################
|
|
|
16 |
|
|
|
17 |
# Bug fix - charts with legend could fail if there was a google analytics script in the page.
|
|
|
18 |
|
|
|
19 |
#### 3.8.5 ####################################################################################################################
|
|
|
20 |
|
|
|
21 |
# Old listeners are removed automatically if the same listener was added, this helps to avoid duplicate calls of event
|
|
|
22 |
handlers
|
|
|
23 |
|
|
|
24 |
#### 3.8.4 ####################################################################################################################
|
|
|
25 |
|
|
|
26 |
# some improvements for export as image script were made.
|
|
|
27 |
|
|
|
28 |
#### 3.8.3 ####################################################################################################################
|
|
|
29 |
|
|
|
30 |
# hideBalloonTime property added to AmChart class, default value is 150 (milliseconds). It sets time after which balloon is
|
|
|
31 |
hidden if user rolls-out of the object. Increasing the time might help to prevent balloon flickering while moving the
|
|
|
32 |
mouse over the object.
|
|
|
33 |
|
|
|
34 |
#### 3.8.2 ####################################################################################################################
|
|
|
35 |
|
|
|
36 |
skipping this version to match the version of amCharts.
|
|
|
37 |
|
|
|
38 |
#### 3.8.1 ####################################################################################################################
|
|
|
39 |
|
|
|
40 |
# You can now set theme for all the charts on your page by setting:
|
|
|
41 |
AmCharts.theme = AmCharts.themes.light; // or some other theme
|
|
|
42 |
If you are creating charts using JavaScript API, not JSON, then this is quite a comfortable way, as you won't need to
|
|
|
43 |
pass theme to each object you create.
|
|
|
44 |
|
|
|
45 |
# bug fix: rendered event was fired only on first render, now it is fired each time the chart is rendered after
|
|
|
46 |
chart.validateNow(); method is called. This bug caused the export buttons to dissapear after the validateNow() method.
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
#### 3.8.0 ####################################################################################################################
|
|
|
50 |
|
|
|
51 |
# Since this version amMaps support themes. This means that instead of seting every property for each object, you can set
|
|
|
52 |
new defaults in a theme file. This will make devs' life a lot easier.
|
|
|
53 |
|
|
|
54 |
Currently you can find three themes in ammap/themes folder - dark.js, light.js and chalk.js To set a theme for a map,
|
|
|
55 |
simply set theme property to the name of the file: theme:"light". Note, this will work only if you are creating map
|
|
|
56 |
using JSON config. If you do it in old way (JSON config is supported since v 3.7.0), you should pass theme object for
|
|
|
57 |
each new object you build, for example: var smallMap = new AmCharts.SmallMap(AmCharts.themes.light);
|
|
|
58 |
|
|
|
59 |
We will be adding more themes soon. Check _usingThemes.html file in samples folder to see themes in action.
|
|
|
60 |
|
|
|
61 |
#### 3.7.0 ####################################################################################################################
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
# AmCharts.makeChart(divID, chartConfig); method added. divID is id of a div where your chart should appear. chartConfig is
|
|
|
65 |
JSON object with chart or map configuration. Check examples with _JSON_ prefix in samples folder to see this in action.
|
|
|
66 |
|
|
|
67 |
# type property added to AmChart class. It is required to specify type to one of the following, when creating charts from
|
|
|
68 |
JSON config: serial, xy, radar, pie, gauge, funnel, map, stock
|
|
|
69 |
|
|
|
70 |
# a possibility to export charts as image/pdf/svg added for all modern browsers except IE9 (IE10 is supported). The
|
|
|
71 |
exporting doesn't require any server side software and is made using js libraries only. Check samples with
|
|
|
72 |
_exporting_ prefix to see this in action. Exporting to SVG doesn't work very properly with stock chart or charts with
|
|
|
73 |
legend (will offer saving multiple files).
|
|
|
74 |
|
|
|
75 |
# Color picking for maps with values adjusted.
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
#### 3.6.1 ####################################################################################################################
|
|
|
79 |
|
|
|
80 |
# FireFox error messages about style declarations fixed
|
|
|
81 |
|
|
|
82 |
# Bug fix: maxWidth property of AmBalloon was ignored
|
|
|
83 |
|
|
|
84 |
# Some other minor bugs fixed
|
|
|
85 |
|
|
|
86 |
# draging of a map on touch devices fixed
|
|
|
87 |
|
|
|
88 |
#### 3.6.0 ####################################################################################################################
|
|
|
89 |
|
|
|
90 |
Great new features added - map now support patterns - areas can be filled with images. Check our new inspiring samples at
|
|
|
91 |
http://www.amcharts.com/inspiration/ to see new possibilities in action.
|
|
|
92 |
|
|
|
93 |
# patterns
|
|
|
94 |
Patterns can be set for areas via pattern property of MapArea. Value of pattern should be object with url, width, height
|
|
|
95 |
of an image, optionally it might have x, y, randomX and randomY values. For example:
|
|
|
96 |
|
|
|
97 |
graph.pattern = {"url":"../amcharts/patterns/black/pattern1.png", "width":4, "height":4};
|
|
|
98 |
|
|
|
99 |
check ammap/patterns folder for some patterns. You can create your own patterns and use them.
|
|
|
100 |
|
|
|
101 |
Check mapWithPatterns.html example to see this in action.
|
|
|
102 |
|
|
|
103 |
# hand-drawn style
|
|
|
104 |
if you set map.handDrawn = true, lines used in a map will be distorted and will produce hand-drawn effect.
|
|
|
105 |
You can also modify map.handDrawScatter (default value is 2) and map.handDrawThickness (default value 1) values for
|
|
|
106 |
more scattered view.
|
|
|
107 |
|
|
|
108 |
# offsetY and offsetX properties added to AmBalloon. Specifies the distance from the mouse position to balloon's pointer.
|
|
|
109 |
You might want to increase distance when using hand drawn style.
|
|
|
110 |
|
|
|
111 |
# Some minor problems fixed
|
|
|
112 |
|
|
|
113 |
#### 3.5.0 ####################################################################################################################
|
|
|
114 |
|
|
|
115 |
We jumped to 3.5.0 version to mark a version which must use amCharts V.3 instead of V.2 (if you use them together).
|
|
|
116 |
This new version added a lot of new cool features to the balloon:
|
|
|
117 |
|
|
|
118 |
# Balloons can now display any HTML and CSS inside them. This means you can add images, format text or display just about
|
|
|
119 |
any HTML/CSS content. Because of this new feature, we removed textShadow property of AmBalloon in this version.
|
|
|
120 |
Example: areaStacked.html, barStacked.html and many other.
|
|
|
121 |
|
|
|
122 |
|
|
|
123 |
# Balloon now can animate from point to point and also fade out when user moves away from the chart. animationDuration and
|
|
|
124 |
fadeOutDuration properties added to AmBalloon, with default values 0.3. animationDuration property was also added to
|
|
|
125 |
ChartCursor, so that the cursor line would also animate to its position.
|
|
|
126 |
Example: any chart with balloon.
|
|
|
127 |
|
|
|
128 |
|
|
|
129 |
# Balloon now can display shadow. shadowColor (default #000000) and shadowAlpha (default 0.4) added to AmBalloon.
|
|
|
130 |
Example: any chart with balloon.
|
|
|
131 |
|
|
|
132 |
|
|
|
133 |
# Some default values of AmBalloon changed for a better usability - adjustBorderColor to true, cornerRadius to 0,
|
|
|
134 |
pointerWidth to 6, color to #000000.
|
|
|
135 |
Example: any chart with balloon.
|
|
|
136 |
|
|
|
137 |
*******************************************************************************************************************************
|
|
|
138 |
*******************************************************************************************************************************
|
|
|
139 |
*******************************************************************************************************************************
|
|
|
140 |
|
|
|
141 |
|
|
|
142 |
3.3.5
|
|
|
143 |
Minor bugs fixed.
|
|
|
144 |
|
|
|
145 |
3.3.4
|
|
|
146 |
Features:
|
|
|
147 |
labelBackgroundAlpha and labelBackgroundColor added to MapImage.
|
|
|
148 |
|
|
|
149 |
Fixes:
|
|
|
150 |
map.addLegend(legend, legendDiv) ignored legendDiv attribute.
|
|
|
151 |
with IE, labels could be wrongly resized in case they are clickable.
|
|
|
152 |
|
|
|
153 |
3.3.3
|
|
|
154 |
|
|
|
155 |
maps can be rendered in "rtl" (right-to-left) mode. You have to set AmCharts.rtl = true in order this mode to be enabled.
|
|
|
156 |
some minor bugs fixed.
|
|
|
157 |
|
|
|
158 |
3.3.2
|
|
|
159 |
Some minor bugs fixed.
|
|
|
160 |
|
|
|
161 |
3.3.1
|
|
|
162 |
A bug with FireFox and roll-over area fixed
|
|
|
163 |
|
|
|
164 |
3.3.0
|
|
|
165 |
linesAboveImages property added to AmMap, default value is true.
|
|
|
166 |
|
|
|
167 |
minValue and maxValue properties added to AmMap. Use them in case you set values for your areas and wish
|
|
|
168 |
to set a different minValue (it's 0 by default) or maxValue (it's actual maxValue by default).
|
|
|
169 |
These values are used when choosing a color for an area.
|
|
|
170 |
|
|
|
171 |
AmMap now supports negative values.
|
|
|
172 |
|
|
|
173 |
getDevInfo() method added to AmMap. Returns object with a lot of information about the coordinate where the
|
|
|
174 |
mouse currently is:
|
|
|
175 |
{type:"writeDevInfo", chart:AmMap, zoomLevel:zoomLevel, zoomX:zoomX, zoomY:zoomY, zoomLatitude:zoomLatitude,
|
|
|
176 |
zoomLongitude:zoomLongitude, latitude:latitude, longitude:longitude, left:left, top:top, right:right,
|
|
|
177 |
bottom:bottom, percentLeft:percentLeft, percentTop:percentTop, percentRight:percentRight,
|
|
|
178 |
percentBottom:percentBottom, str:string}
|
|
|
179 |
|
|
|
180 |
"click" event added to AmMap. fired everytime user clicks on a map, except if the map was dragged or zoomed-in with zoomControl.
|
|
|
181 |
By using this event and getDevInfo method you can build your custom map editing user interface.
|
|
|
182 |
|
|
|
183 |
"rendered" event added to AmChart class. fired only once, when chart is first rendered.
|
|
|
184 |
|
|
|
185 |
zoomToGroup method can accept not only a group id but also array of areas.
|
|
|
186 |
|
|
|
187 |
selectedOutlineColor property added to AreasSettings.
|
|
|
188 |
|
|
|
189 |
3.2.1
|
|
|
190 |
|
|
|
191 |
FIX: clickMapObject event was not always fired.
|
|
|
192 |
|
|
|
193 |
3.2.0
|
|
|
194 |
IMPORTANT! All included maps were updated to follow ISO country and region codes.
|
|
|
195 |
All world maps use two-digit ISO codes. All country-level maps use country code dash region code notation,
|
|
|
196 |
i.e. US-AK. Please note that this is different from the codes we used previously which used underscores.
|
|
|
197 |
Map files for consistency were also renamed to correspond to the map entity names,
|
|
|
198 |
i.e. usaLow.js and AmCharts.maps.usaLow.
|
|
|
199 |
|
|
|
200 |
|
|
|
201 |
FEATURES:
|
|
|
202 |
lines have bigger hit area;
|
|
|
203 |
|
|
|
204 |
selectedLabelColor property added to MapImage and ImagesSettings.
|
|
|
205 |
|
|
|
206 |
balloonLabelFunction added to AmMap
|
|
|
207 |
|
|
|
208 |
allowClickOnSelectedObject added to AmMap, default value true
|
|
|
209 |
|
|
|
210 |
FIXES:
|
|
|
211 |
lines and some other objects had hand cursor even if they were not clickable.
|
|
|
212 |
|
|
|
213 |
|
|
|
214 |
3.1.0
|
|
|
215 |
Zooming with mouse wheel wasn't working properly.
|
|
|
216 |
|
|
|
217 |
zoomToObject(mapObject) method added added;
|
|
|
218 |
|
|
|
219 |
images could be resized incorrectly after zoom on mouse over.
|
|
|
220 |
|
|
|
221 |
3.0.9
|
|
|
222 |
|
|
|
223 |
AmCharts.clear method added. Call this method if you want completely to remove all charts from a page.
|
|
|
224 |
|
|
|
225 |
Memory leak fixed.
|
|
|
226 |
|
|
|
227 |
3.0.8
|
|
|
228 |
|
|
|
229 |
new maps were added, some maps were updated.
|
|
|
230 |
|
|
|
231 |
3.0.7
|
|
|
232 |
|
|
|
233 |
balloon could be wrongly positioned in marginTop style was added directly to <html> element.
|
|
|
234 |
|
|
|
235 |
3.0.6
|
|
|
236 |
|
|
|
237 |
Object's position accuracy increased.
|
|
|
238 |
Objects list wasn't cleared when drill-down map was used.
|
|
|
239 |
zoomCompleted event wasn't always fired.
|
|
|
240 |
|
|
|
241 |
3.0.5
|
|
|
242 |
|
|
|
243 |
showDescriptionOnHover property added to AmMap class. If you set it to true,
|
|
|
244 |
description window instead of a balloon will be displayed when hovering MapObject.
|
|
|
245 |
|
|
|
246 |
descriptionWindowX, descriptionWindowY, descriptionWindowWidth and
|
|
|
247 |
descriptionWindowHeight properties added to ImagesSettings, AreasSettings and
|
|
|
248 |
LinesSettings. Allows you to set these properties for all objects of the type.
|
|
|
249 |
|
|
|
250 |
HTML can be displayed in description window.
|
|
|
251 |
|
|
|
252 |
Map wasn't correctly resized if container of a map changed and map.invalidateSize()
|
|
|
253 |
method was called.
|
|
|
254 |
|
|
|
255 |
Some other minor bugs fixed.
|
|
|
256 |
|
|
|
257 |
New maps were added.
|
|
|
258 |
|
|
|
259 |
3.0.4
|
|
|
260 |
|
|
|
261 |
Some minor bugs fixed
|
|
|
262 |
|
|
|
263 |
3.0.3
|
|
|
264 |
|
|
|
265 |
Bug fixes:
|
|
|
266 |
Blurry lines on all browsers fixed
|
|
|
267 |
|
|
|
268 |
3.0.2
|
|
|
269 |
numberFormatter was not working when formatting values in balloon.
|
|
|
270 |
problems with window resizing fixed.
|
|
|
271 |
some other problems fixed
|
|
|
272 |
|
|
|
273 |
3.0.1
|
|
|
274 |
Some minor bugs fixed
|
|
|
275 |
|
|
|
276 |
3.0 is Out!
|