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