Subversion Repositories php-qbpwcf

Rev

Rev 23 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 liveuser 1
###############################################################################################################################
2
 
3
Since version 3.4.3, change log moved to: http://www.amcharts.com/javascript-charts/changelog/
4
 
5
#### 3.4.2 ####################################################################################################################
6
 
7
Bug fix: if pie slice had no label, the external method rollOverSlice(index) was not working
8
 
9
Bug fix: x switch of the legend position adjusted
10
 
11
Bug fix: when autoWrap for category axis was set to true, in some cases axis title was cut.
12
 
13
markPeriodChange was set to true in CategoryAxesSettings.
14
 
15
#### 3.4.1 ####################################################################################################################
16
 
17
"patterns" theme added.
18
 
19
themes were updated a bit.
20
 
21
labels of angular gauge axis adjusted.
22
 
23
when scrolling serial/stock charts with mousewheel (chart.mouseWheelScrollEnabled must be set to true), if user press shift
24
button, the chart will zoom-in or zoom-out;
25
 
26
adjustment property added to ChartCursor. Default value is 0, if you set it to -1, the balloon will show near previous, if
27
you set it to 1 - near next data point.
28
 
29
#### 3.4.0 ####################################################################################################################
30
 
31
   # link to amCharts.com site in a free version was made less noticable - it uses chart's font color and font size and you
32
     can adjust it's position using creditsPosition property of AmChart. Possible values are: top-left, top-right, bottom-right
33
     and bottom-left. This will help you to achieve better layout of a chart.
34
 
35
   # we fixed typo in chart cursors property - it was showNextAvalable and now is showNextAvailable. The old one won't work.
36
 
37
   # since now you can scroll serial and stock charts with mouse wheel. To enable this, set
38
     chart.mouseWheelScrollEnabled = true (default is false)
39
 
40
   # "moved" event added to chart cursor. It is dispatched every time the mouse is moved. The event object has the following
41
     properties: x, y (coordinates of the cursor), target (reference to cursor), chart, zooming.
42
 
43
   # axisX and axisY properties added to AxisBase. They are read-only and returns x and y positions of the axis.
44
 
45
   # unit and unitPosition (with possible values left and right) added to GaugeAxis class.
46
 
47
   # autoWrap property added to CategoryAxis, with default value false. If you set it to true, the axis labels will be
48
     wrapped if they won't fit in the allocated space.
49
 
50
   # minHorizontalGap (default 75) and minVerticalGap (35) properties added to AxisBase. They are used to calculate the
51
     number of gridLines when autoGridCount is true. You can modify these values to have more or less grid lines.
52
 
53
#### 3.3.6 ####################################################################################################################
54
 
55
   # Bug fix - charts with legend could fail if there was a google analytics script in the page.
56
 
57
   # stepDirection property added to AmGraph. If you set it to "left", step line graph will draw the step to the left of the
58
     date/category.
59
 
60
   # markPeriodChange property added to ChartScrollbarSettings
61
 
62
#### 3.3.5 ####################################################################################################################
63
 
64
   # Bug fix - 3D pie chart was not rendered in IE8 and older (since 3.3.4 version only)
65
 
66
   # Candlestick graphs can display patterns
67
 
68
   # Old listeners are removed automatically if the same listener was added, this helps to avoid duplicate calls of event
69
     handlers
70
 
71
   # \n in labelText of AmGraph is now properly displayed as new line.
72
 
73
   # PeriodSelector sometimes could select plus one period when period button was pushed (only since 3.3.0)
74
 
75
#### 3.3.4 ####################################################################################################################
76
 
77
   # export as image script fixed - bullets of charts with scrollbars were not exported.
78
 
79
   # dataContext property added to SerialDataItem. It holds reference to original data object and might be used when using
80
     labelFunction to format custom balloon text and in some other cases.
81
 
82
   # XY chart can display bullets with patterns (if valueField is set).
83
 
84
#### 3.3.3 ####################################################################################################################
85
 
86
   # hideBalloonTime property added to AmChart class, default value is 150 (milliseconds). It sets time after which balloon is
87
     hidden if user rolls-out of the object. Increasing the time might help to prevent balloon flickering while moving the
88
     mouse over the object.
89
 
90
   # useLineColorForBulletBorder property added to AmGraph. Might help in some situations, especially when using themes.
91
 
92
   # 3D charts now look a lot better with patterns.
93
 
94
   # endWidth property added to GaugeArrow (default 0). This will allow having more modern, rectangular arrows.
95
 
96
   # facePattern property added to AmAngularGauge. You can fill gauge's face with some pattern using it.
97
 
98
   # bug fix: new lines were ignored in balloons
99
 
100
#### 3.3.2 ####################################################################################################################
101
 
102
   # You can now set theme for all the charts on your page by setting:
103
     AmCharts.theme = AmCharts.themes.light;  // or some other theme
104
     If you are creating charts using JavaScript API, not JSON, then this is quite a comfortable way, as you won't need to
105
     pass theme to each object you create.
106
 
107
   # bug fix: rendered event was fired only on first render, now it is fired each time the chart is rendered after
108
     chart.validateNow(); method is called. This bug caused the export buttons to dissapear after the validateNow() method.
109
 
110
   # chartCursror.showNextAvalable property added (default is false). If true, the graph will display balloon on next
111
     available data point if currently hovered item doesn't have value for this graph.
112
 
113
   # graph.periodSpan property added (default is 1). This property can be used by step graphs - you can set how many periods
114
     one horizontal line should span.
115
 
116
   # "end" option added to graph.pointPosition property.
117
 
118
#### 3.3.1 ####################################################################################################################
119
 
120
   # bug fix - \n was replaced with <br> in category axis and the tag was displayed
121
   # bug fix - if lineColorField or dashLengthField or fillColorsField was set, the graph could loose the setting if zoomed.
122
 
123
#### 3.3.0 ####################################################################################################################
124
 
125
   # Since this version amCharts and amMap support themes. This means that instead of seting every property for each graph
126
     or axis or any other object, you can set new defaults in a theme file. This will make devs' life a lot easier.
127
 
128
     Currently you can find three themes in amcharts/themes folder - dark.js, light.js and chalk.js To set a theme for a chart,
129
     simply set theme property to the name of the file: theme:"light". Note, this will work only if you are creating chart
130
     using JSON config. If you do it in old way (JSON config is supported since v 3.2.0), you should pass theme object for
131
     each new object you build, for example: var graph = new AmCharts.AmGraph(AmCharts.themes.light);
132
 
133
     We will be adding more themes soon. Check _usingThemes.html file in samples folder to see themes in action.
134
 
135
   # patterns property added to AmSlicedChart and AmCoordinateChart - instead of setting a pattern for a slice/graph, you can
136
     pass array of patterns using this property.
137
 
138
   # you can now control zoom-out buttons with the following new properties of AmRectangularChart:
139
 
140
        zoomOutButtonImageSize
141
        zoomOutButtonImage
142
        zoomOutButtonColor
143
        zoomOutButtonAlpha
144
        zoomOutButtonRollOverAlpha
145
        zoomOutButtonPadding
146
 
147
   # some minor bugs fixed
148
 
149
#### 3.2.0 ####################################################################################################################
150
 
151
 
152
   # AmCharts.makeChart(divID, chartConfig); method added. divID is id of a div where your chart should appear. chartConfig is
153
     JSON object with chart configuration. Check examples with _JSON_ prefix in samples folder to see this in action.
154
 
155
   # type property added to AmChart class. It is required to specify type to one of the following, when creating charts from
156
     JSON config: serial, xy, radar, pie, gauge, map, stock
157
 
158
   # a possibility to export charts as image/pdf/svg added for all modern browsers except IE9 (IE10 is supported). The
159
     exporting doesn't require any server side software and is made using js libraries only. Check samples with
160
     _exporting_ prefix to see this in action. Exporting to SVG doesn't work very properly with stock chart or charts with
161
     legend (will offer saving multiple files).
162
 
163
   # You can set any legend items via legend.data property, for example:
164
     legend.data = [{title:"first", color:"#CC0000", value:50}, {title:"second", color:"#00CC00", value:100}];
165
     This allows creating any legend items you want. Call chart.legend.validateNow(); if you change legend's data at run time.
166
 
167
   # AmAngularGauge supports legend now
168
 
169
   # bug fix - if a chart with scrollbar was rotated after the chart is created, the scrollbar's graph was shifted to a wrong
170
     position.
171
 
172
   # bug fix - column graph type wasn't displayed in chart scrollbar (since 3.1.0)
173
 
174
   # gridAboveGraphs property added to AmCoordinate chart. This allow to show grid lines above your graphs, as world-famous
175
     data visualization guru Edward Tufte suggests. Note, this won't work properly with 3D charts.
176
 
177
   # negative axis labels rotation possible. You can use values from -90 to -1 for labelRotation property since now.
178
 
179
   # bug fix: step line with changing line color was rendered incorrectly if some values were missing.
180
 
181
   # bug fix: labelPosition "inside" and "middle" for bar charts fixed.
182
 
183
   # bug fix: AmAngularGauge chart wasn't firing "rendered" event.
184
 
185
   Stock chart specific:
186
 
187
   # bug fix: when clicked and then unselected date input fields, extra period was selected.
188
 
189
#### 3.1.1 ####################################################################################################################
190
 
191
   # FireFox error messages about style declarations fixed
192
 
193
   # Bug fix: maxWidth property of AmBalloon was ignored
194
 
195
   # Some other minor bugs fixed
196
 
197
#### 3.1.0 ####################################################################################################################
198
 
199
     Great new features added - charts now support patterns (can fill bars, lines and slices with images) and can simulate
200
     hand drawn charts - the lines will be a bit distorted and produce a nice effect. Check our new inspiring samples at
201
     http://www.amcharts.com/inspiration/ to see new possibilities in action.
202
 
203
   # patterns
204
     Patterns can be set for entire graphs or for individual columns/slices. In case you want to set pattern for a graph, use
205
     pattern property of AmGraph. If you want to set individual pattern for a column or slice, describe patterns in chart's
206
     data and set patternField for a graph or pie/funnel chart. Value of pattern should be object with url, width, height of an
207
     image, optionally it might have x, y, randomX and randomY values. For example:
208
 
209
     graph.pattern = {"url":"../amcharts/patterns/black/pattern1.png", "width":4, "height":4};
210
 
211
     check amcharts/patterns folder for some patterns. You can create your own patterns and use them.
212
 
213
     Note, x, y, randomX and randomY properties won't work with IE8 and older.
214
 
215
     Check handDrawnChart.html, pieWithPatterns.html or columnWithPatterns.html examples to see this in action.
216
 
217
     Note, 3D bar/Pie charts won't work properly with patterns.
218
 
219
   # hand-drawn style
220
     if you set chart.handDrawn = true, the lines of a chart will be distorted and will produce hand-drawn effect.
221
     You can also modify chart.handDrawScatter (default value is 2) and chart.handDrawThickness (default value 1) values for
222
     more scattered view.
223
 
224
   # offsetY and offsetX properties added to AmBalloon. Specifies the distance from the mouse position to balloon's pointer.
225
     You might want to increase distance when using hand drawn style.
226
 
227
   # Some minor problems fixed
228
 
229
#### 3.0.1 ####################################################################################################################
230
 
231
     Some very minor bugs which usually pop right after big release fixed.
232
 
233
#### 3.0.0 ####################################################################################################################
234
 
235
**** Several files ****
236
 
237
   # As not all users require all type of charts, we spilt the js file into several files - one main amcharts.js file, plus
238
     a separate js file for each chart type. This means you can include only the charts you need. If you are worried about
239
     number of requests, you can simply copy/paste the source of the charts you use to the main file.
240
 
241
**** Upgrading / 100% backwards compatibility ****
242
 
243
   # Although we changed some default values in order to improve usability of the charts, the only thing you should worry
244
     about when upgrading from v2 to v3 is the feature mention above – you should include two or more js files in order your
245
     charts to work. If you don’t like the changed defaults, you can always set them to the previous values in your chart
246
     setup.
247
 
248
**** New chart types ****
249
 
250
   # Funnel / Pyramid chart.
251
     Check funnelChart.html and pyramidChart.html examples. As this chart type has a lot of in common
252
     with pie chart, we created one base class for these chart types - AmSlicedChart. AmPieChart and AmFunnelChart now extend
253
     this class. Visit our online class reference for properties and methods of AmFunnelChart.
254
 
255
   # Angular Gauge
256
     Supports multiple axes and multiple arrows. Check the following examples: angularGauge.html,
257
     angularGaugeWithTwoAxes.html, clock.html, clockWithTwoFaces.html. Visit our online class reference for properties and
258
     methods of classes used by this chart type.
259
 
260
*** New chart types made with new possibilities of Serial/XY charts ***
261
 
262
    We added lots of new features to our charts and with these features you can create new chart types, like:
263
 
264
    # Horizontal or vertical bullet chart - bulletChart.html
265
 
266
    # Waterfall chart - waterFallChart.html
267
 
268
    # Step chart without risers - lineStepNoRisers.html
269
 
270
    # Error chart (both Serial and XY) - errorChart.html
271
 
272
*** Other new features ***
273
 
274
    # Possibility to show minor grid for both Category and Value axis. minorGridEnabled (default value false) and
275
      minorGridAlpha (default 0.07) properties added to AxisBase class.
276
      Example: lineWithScrollAndZoom.html
277
 
278
 
279
    # Possibility to change line graphs' line/fill color on any data point to create highlighted sections of the graph.
280
      To achieve this, you should set lineColorField and/or fillColorsField for your graph and have a field in your data
281
      which would contain color values at a point where you want the graph to change it's color.
282
      Example: lineWithChangingColor.html
283
 
284
 
285
    # Possibility to switch line from solid to dashed. Columns can also have dashed outline. To achieve this, you should set
286
      dashLengthField for your graph and have a field in your data which would contain dashLength value at a point where you
287
      want the graph to change from solid to dashed or vice versa.
288
      Example: lineWithDifferentBulletSizes.html and columnAndLineMix.html
289
 
290
 
291
    # Date strings in data now supported. Even if your chart parses dates, you can pass them as strings in your data – all you
292
      need to do is to set data date format and the chart will parse dates to date objects. This means that now data for
293
      date-based chart can be in legit JSON format. dataDateFormat property added to AmSerialChart and AmStockChart.
294
      Example: lineWithChangingColor.html, lineWithTrendLines.html and some more.
295
 
296
 
297
    # When moving chart cursor over the chart, hovered bullets can change their size. If a graph has bullets and you added
298
      ChartCursor to the chart, bullets will become bigger when char cursor is over them. graphBulletSize property with
299
      default value 1.7 added to ChartCursor. If you want to disable this feature, set the value to 1.
300
      Example: lineWithLogarithmicValueAxis.html, lineWithScrollAndZoom.html and some more.
301
 
302
 
303
    # Legend can now display period value. When user is not hovering the chart, legend can show sum, average, open, close, low
304
      or high values of selected period. periodValueText added to AmLegend and legendPeriodValueText added to AmGraph to
305
      achieve this. The tags should be made out of two parts - the name of a field (value / open / close / high / low) and the
306
      value of the period you want to be show - open / close / high / low / sum / average / count. For example: [[value.sum]]
307
      means that  sum of all data points of value field in the selected period will be displayed.
308
      Example: area100PercentStacked.html and areaStacked.html
309
 
310
      To achieve the same with stock chart, we added periodValueTextRegular and periodValueTextComparing proprties to
311
      StockLegend. To show percent period values, you should add "percent." prefix for your tag, for example:
312
      [[percents.value.close]] means that last percent value of a period will be displayed.
313
      Example: stockMultiplePanels.html and stockMultipleDataSets.html
314
 
315
 
316
    # Legend markers can now mirror graph’s settings, displaying a line and a real bullet as in the graph itself.
317
      useGraphSettings property with default value false was added to AmLegend. Note, we also removed "line" and "dashedLine"
318
      marker types because of this - use the useGraphSettings feature in case you need lines as markers in the legend.
319
      Example: lineWithDifferentBulletSizes.html and lineWithMultipleValueAxes.html
320
 
321
 
322
    # Legend now supports custom markers (images). customMarker property was added to AmGraph. You should set path to the image
323
      which should be displayed in the legend.
324
 
325
 
326
    # Diamond bullet type added. Set graph.bullet = "diamond" to use it.
327
 
328
 
329
    # Dynamic bullet size based on value axis / Error chart.
330
      Error chart is a regular serial or XY chart with bullet type set to "errorX" or "errorY". The graph should know which axis
331
      should be used to determine the size of this bullet - that's when graph.bulletAxis property should be set. Besides that,
332
      you should also set graph.errorField. You can also use other bullet types with this feature too. For example, if you set
333
      bulletAxis for XY chart, the size of a bullet will change as you zoom the chart.
334
      Example: errorChart.html
335
 
336
 
337
    # You can specify custom column width for each graph individually. columnWidth property added to AmGraph. Note, you set
338
      relative width here (0 - 1), not width in pixels.
339
      Example: bulletChart.html
340
 
341
 
342
    # Columns can be overlaid on other columns, without making axis as stacked. clustered property added to AmGraph. In case you
343
      want to place graph's columns in front of other columns, set it to false.
344
      Example: bulletChart.html
345
 
346
 
347
    # Resize grips were made bigger to make life easier for users on touch devices.
348
 
349
 
350
    # Balloons can now display any HTML and CSS inside them. This means you can add images, format text or display just about
351
      any HTML/CSS content. Because of this new feature, we removed textShadow property of AmBalloon in this version.
352
      Example: areaStacked.html, barStacked.html and many other.
353
 
354
 
355
    # Balloon now can animate from point to point and also fade out when user moves away from the chart. animationDuration and
356
      fadeOutDuration properties added to AmBalloon, with default values 0.3. animationDuration property was also added to
357
      ChartCursor, so that the cursor line would also animate to its position.
358
      Example: any chart with balloon.
359
 
360
 
361
    # Balloon now can display shadow. shadowColor (default #000000) and shadowAlpha (default 0.4) added to AmBalloon.
362
      Example: any chart with balloon.
363
 
364
 
365
    # Some default values of AmBalloon changed for a better usability - adjustBorderColor to true, cornerRadius to 0,
366
      pointerWidth to 6, color to #000000.
367
      Example: any chart with balloon.
368
 
369
 
370
    # Stock chart can display scrollbar on top of the chart.
371
      Example: stockIntradayData.html
372
 
373
 
374
 
375
*******************************************************************************************************************************
376
*******************************************************************************************************************************
377
*******************************************************************************************************************************
378
 
379
2.11.3
380
With IE8 and older, in some cases not all category axis labels were shown.
381
Stock chart problem with dates as timestamsp in the data fixed.
382
 
383
2.11.2
384
"drawn" event added to AmChart. Fired every time chart is drawn - on zoom, hide graph, etc.
385
bug fixed - in some cases last grid items of category axis were not drawn.
386
 
387
compareGraphBalloonFunction added to StockGraph.
388
"drawn" event added to AmStockChart. Fired every time chart is drawn - on zoom, hide graph, etc.
389
bug fixed - graphs which are not compared were not displayed when data sets were compared.
390
 
391
2.11.1
392
Bug fixed: if chart.usePrefixes was set to true, numbers near value axis grid could be rounded and duplicated.
393
This bug only occured in v 2.11.0.
394
 
395
2.11.0
396
Bug fixed:
397
FireFox 3.6 failed to show all columns of a graph.
398
NumberFormatter was ignored if usePrefixes was set to true.
399
 
400
Features added:
401
baloonFunction added to AmGraph. If you set some function, the graph will call it and pass graphDataItem and graph object to it
402
this function should return a string which will be displayed in a balloon.
403
 
404
Custom fields now supported in labels/balloons/legend of Pie and Radar chart.
405
 
406
Guide.above property added, the guide will be placed above the graphs if set to true (default is false).
407
 
408
compareFromStart added to StockGraph, default value false. If you set it to true, when data sets are compared, the graphs will
409
use first value as a base value instead of using the first value of selected period.
410
 
411
 
412
2.10.8
413
Bug with stacked step charts fixed.
414
categoryBalloonFunction property added to ChartCursor. It allows formatting any category balloon text you want.
415
The categoryBalloonFunction should return a string which will be displayed in a balloon. When categoryBalloonFunction
416
is called, category value (or date) is passed as an argument.
417
 
418
2.10.7
419
Bugs related to new behavior of CategoryAxis fixed.
420
CategoryAxis.centerLabelOnFullPeriod property added, with default value true. This setting works only when
421
parseDates is set to true and equalSpacing is set to false. In case you set it to false,
422
labels will never be centered between grid lines.
423
 
424
2.10.5
425
CategoryAxis labeling, when parseDates is true was improved.
426
 
427
CategoryAxis.markPeriodChange property added, with default value set to true. If you set it to false,
428
the start of longer periods won't use a different date format and won't be bold.
429
 
430
Bug with compared graphs and milliseconds fixed.
431
 
432
If events were hidden with hideStockEvents() method, they used to appear again if chart was zoomed. Fixed this bug.
433
 
434
 
435
2.10.4
436
 
437
charts can be rendered in "rtl" (right-to-left) mode. You have to set AmCharts.rtl = true in order this mode to be enabled.
438
categoryAxis.minPeriod now supports intervals like 15mm, 10ss (previously only equal intervals like ss, mm were supported).
439
some minor bugs fixed.
440
 
441
2.10.3
442
 
443
milliseconds problem with firefox & IE fixed
444
 
445
2.10.2
446
 
447
AmCharts.useUTC problems fixed.
448
 
449
guide.color property added (changes text color of guide label).
450
 
451
some other minor bugs fixed.
452
 
453
2.10.1
454
 
455
amChartsPanel class name set on each stock panel's div.
456
 
457
showHandOnHover property added to AmGraph.
458
 
459
totalTextColor property added to ValueAxis.
460
 
461
minimum and maximum properties added to ChartScrollbar class. In case your scrollbar has a graph, you can set
462
minimum and maximum values of scrollbar's value axis.
463
 
464
"rendered" event added to AmChart class. fired only once, when chart is first rendered.
465
 
466
bug with graph.negativeBase and line graph fixed.
467
 
468
columnSpacing3D added to AmSerialChart. Allows setting space between 3d stacked columns.
469
 
470
2.10.0
471
******
472
usePeriod added to ChartScrollbarSettings. This is very important feature for those, who work with
473
large data sets. You can tell ChartScrollbar what period it should use for it's graph and save
474
a lot of time for rendering of this graph. For example, if your minPeriod is "DD" (days), set
475
usePeriod = "WW" (weeks) and you will have 7 times less data points in scrollbar's graph.
476
 
477
******
478
balloonColor added to StockEventsSettings
479
 
480
******
481
Data parsing performance increased
482
 
483
******
484
categoryFunction property added to CategoryAxis. It specifies a method that returns the value that should be
485
used as categoryValue for current item. If this property is set, the return value of the custom data function
486
takes precedence over categoryField. When a chart calls this method, it passes category value, data item from
487
chart's data provider and reference to categoryAxis: categoryFunction(category, dataItem, categoryAxis);
488
This method can be used both when category axis parses dates and when it doesn't. If axis parses dates, your
489
categoryFunction should return Date object.
490
 
491
******
492
labelFunction added to AxisBase. You can use it to format both Value and Category axis labels. If this function
493
is set for ValueAxis, it is called and these parameters are passed: labelFunction(value, valueText, valueAxis);
494
Where value is numeric value, valueText is formatted string and valueAxis is a reference to valueAxis object.
495
 
496
If this function is set for CategoryAxis, then it is called with the following parameters passed:
497
 
498
if dates are not parsed:
499
labelFunction(valueText, serialDataItem, categoryAxis)
500
 
501
if dates are parsed:
502
labelFunction(valueText, date, categoryAxis)
503
 
504
******
505
fontSize property added to Guide.
506
position property added to Guide.
507
 
508
******
509
useMarkerColorForValues property added to AmLegend.
510
 
511
******
512
rightClickSlice event added to AmPieChart.
513
 
514
******
515
Some minor bugs fixed.
516
 
517
2.9.3
518
 
519
AxisBase.minGap property added. It allows to set the minimum size of interval between
520
grid lines, works only for horizontal axis and when autoGridCount is set to true.
521
 
522
Some minor bugs fixed.
523
 
524
2.9.2
525
 
526
Problem with lines not visible on XP+IE8 fixed.
527
 
528
 
529
2.9.1
530
 
531
Stock chart related updates:
532
 
533
If user changes date in period selector, the new date is applied right when he clicks away from the
534
input field.
535
 
536
"rendered" event added to AmStockChart. Fired each time the chart is rebuild.
537
 
538
 
539
Updates related to other chart types:
540
 
541
'selected' event of ChartCursor was added. It is fired when selectWithoutZooming is set to true and
542
user makes selection.
543
 
544
Fixed XY chart external zoom (with valueAxis.zoomToValues() method)
545
 
546
labelColorField added to AmGraph, it allows setting different color for individual data labels.
547
 
548
forceShowField added to CategoryAxis. It allows setting which of the categories should
549
always be displayed. Works only when categoryAxis.parseDates = false
550
 
551
rightClickGraphItem event added to AmCoordinateChart.
552
 
553
"changed" event of chart cursor has a new property, called mostCloseGraph. It is
554
set if you are using chartCursor.oneBalloonOnly = true.
555
 
556
Fix: IE used to hide legend of pie chart after validateNow() method was called.
557
 
558
labelRadiusField property added to AmPieChart. It allows specifying the distance from pie
559
to data label manually. Note, if you set labelRadiusField, the chart won't try to
560
arrange labels so that they won't overlap.
561
 
562
 
563
2.9.0
564
 
565
validateSize method added to AmStockChart. If you changed size of chart's div and want the
566
chart to adjust, call this method.
567
 
568
"init" event added to AmStockChart, it is fired when chart is initialized for the first time.
569
In case you need this event to be fired after validateNow method, set chart.chartCreated to "false".
570
 
571
AmCharts.clear method added. Call this method if you want completely to remove all charts from a page.
572
 
573
Memory leak fixed.
574
 
575
Animation was working only on the first panel of stock chart.
576
 
577
Since this version, when setting zooming date-based chart, you have to set
578
exact "to" date. For example, if you want the chart to display one day only,
579
set from date as 2012,1,1 (first of February) and the to date as
580
new Date(2012,1,2) or new Date(2012,1,1,23,59,59). Previously you could set the
581
same date for start and end dates and the chart used to select one "minPeriod"
582
automatically, however this caused a lot of problems for charts displaying
583
monthly or yearly data.
584
 
585
2.8.5
586
 
587
above property added to Guide. If you set it to true, guides will be displayed above graphs.
588
Some minor bugs fixed.
589
 
590
2.8.4
591
 
592
NEW FEATURE:
593
you can set a customly created div element as a container of your legend. To do this,
594
you should pass id or reference of the div in this method:
595
 
596
chart.addLegend(legend, divID);
597
 
598
FIXES:
599
balloon could be wrongly positioned in marginTop style was added directly to <html> element.
600
chart.animateAgain(); worked only if validateNow() method was called after.
601
in some specific cases scrollbar could act icorrectly on IE8/IE7.
602
if minPeriod was set to month and the chart was zoomed-in from outside, one month
603
was added to the specified period.
604
 
605
2.8.3
606
 
607
When panEventsEnabled was set to true, balloons over bullets were not shown.
608
 
609
Text in balloons was not properly vertically aligned if verticalSpacing was set
610
to some different than default value.
611
 
612
Balloon wasn't positioned properly if chart was in a scrollable div.
613
 
614
Init event wasn't fired by AmPieChart.
615
 
616
Stock chart's scrollbar was showing more by one period than it was actually selected.
617
 
618
 
619
2.8.2
620
 
621
You can use time stamp values instead of Date objects for Stock chart since this
622
version.
623
 
624
AmStockChart.clear() method added. In case you want to destroy the chart, call
625
this method.
626
 
627
Step line's corners sometimes were not perfect (one extra pixel could be added
628
in the end of horizontal line)
629
 
630
You couldn't change panEventsEnabled of AmChart class after the chart was
631
initialized.
632
 
633
You couldn't chane legend's position after the chart was initialized.
634
 
635
Step line chart was not correctly filled if Value axis was of some stacked type.
636
 
637
Some other minor bugs fixed.
638
 
639
 
640
2.8.1
641
 
642
hideXScrollbar and hideYScrollbar properties added to AmXYChart. This will
643
allow you to show one scrollbar only.
644
 
645
hideOutOfScopePeriods property added to PeriodSelector, with default
646
value true. This will hide period buttons which periods are longer than data
647
available.
648
 
649
problem with periodSelector buttons fixed - several buttons could be marked
650
as selected if a button's period was bigger than data available.
651
 
652
2.8.0
653
 
654
New features:
655
you can pass dates as timestamps instead of date objects.
656
 
657
ChartCursor.selectWithoutZooming property added which allows marking desired area
658
with chart cursor without zooming-in.
659
 
660
graph.fillToGraph property added. This allows creating band or range graphs.
661
The area between graph and fillToGraph will be filled with a color if graph.fillAlphas
662
is set to > 0 value. Works with "line" graph type only.
663
 
664
Bug fixes:
665
 
666
Blurry lines on all browsers fixed
667
 
668
right/bottom grid line was hidden if marginRight/marginBottom were set to 0
669
 
670
category balloon was shifted a bit since last version
671
 
672
background image was incorrectly sized
673
 
674
predefined button could be deselected after chart.validateNow() call
675
 
676
2.7.10
677
Problem with balloon position in IE10 fixed.
678
 
679
2.7.9
680
 
681
amChartsInputField class name added to date input fields in PeriodSelector.
682
 
683
amChartsDataSetSelector class name added to data set selector's div.
684
 
685
amChartsPeriodSelector class name added to period selector's div.
686
 
687
FIX: if your minPeriod was set to milliseconds, in some cases events might not be visible.
688
 
689
FIX: If you used to add/remove some graphs for several times, some graphs could disappear.
690
 
691
FIX: balloon could be positioned in a wrong place in some specific cases with IE.
692
 
693
Some other minor bugs fixed.
694
 
695
2.7.8
696
problem with Data set selector's position set to "bottom" fixed.
697
 
698
On iPad when panEventsEnabled is used there was no way to click on event and get
699
it's description in a balloon.
700
 
701
url parameter added to chart.addLabel method
702
 
703
Printing in IE8 fixed;
704
 
705
Two typos in property names fixed:
706
 
707
ValueAxis.minMaxMultiplier (instead of minMaxMultiplayer)
708
and
709
ValueAxis.synchronizationMultiplier (instead of synchronizationMultiplyer)
710
 
711
We do not longer support old names with errors, so you should adjust names if you use
712
them in your scripts. Sorry for inconvenience.
713
 
714
some other minor bugs fixed.
715
 
716
2.7.7
717
 
718
ValueAxis.minMaxMultiplier was ignored if min (or max) value was equal to 0.
719
Data grouping problems with candlesticks and ohlc charts fixed.
720
StockEvent supports "round" bullet now.
721
count property added to event fired when predefined period is selected.
722
chart.validateNow() used to remove selection from the currently selected predefined period button.
723
 
724
2.7.6
725
chart.invalidateSize() method was fixed.
726
Charts used to ignore padding of a div.
727
chartCursor.showCursorAt(category) method added. It will make the cursor to
728
appear at specified cateogry or date.
729
 
730
2.7.5
731
Bug with smoothed line in scrollbar fixed.
732
minMaxMultiplayer property added to ValueAxis. Default value is 1. You can increase
733
min/max range using this property. Useful for bubble charts - prevents from bubbles
734
being cut.
735
Some other minor bugs fixed.
736
 
737
2.7.4
738
In case open and close values were equal, horizontal line wasn't drawn by candlestick chart.
739
 
740
In case pie chart had one slice only, a tiny gap might be visible in IE8 and older.
741
 
742
markerBorderColor of AmLegend was ignored.
743
 
744
Ticks with no labels (when labelFrequency was > 1) were not hidden by categoryAxis.
745
 
746
Balloons could overlap "show all" button preventing it from being clicked.
747
 
748
Only part of a drawing icons were actually working on touch devices.
749
 
750
2.7.3
751
new line symbol \n was ignored in some browsers.
752
 
753
smaller than 1 numbers were formatted incorrectly in some cases.
754
 
755
2.7.2
756
Usabilty with touch devices improved - scrollbar's drag icons has a bigger hit area.
757
 
758
Some bugs fixed.
759
 
760
2.7.1
761
categoryAxesSettings.boldPeriodBeginning was ignored when equalSpacing
762
was set to true.
763
 
764
Stock events that are attached to axis were not stacked.
765
 
766
StockEvent.urlTarget was ignored.
767
 
768
Predefined period buttons were not marked as selected if a period was longer when
769
available data.
770
 
771
 
772
2.7.0
773
textAlign property added to AmBalloon. Possible values are left/middle/right,
774
default is "middle".
775
 
776
behindColumns property added to AmGraph. If set to true, line graph will be
777
displayed behind column graphs.
778
 
779
"init" event added to AmChart. Event is fired right after the chart is initialized
780
for the very first time.
781
 
782
totalText property added to ValueAxis. Usage example:
783
valueAxis.totalText = "total: [[total]]"
784
It works only if the chart has column graphs and stackType is set to "regular" or "100%".
785
 
786
showEntries property added to AmLegend. It might be used by StockChart - in case you want
787
legend as it displayes title of the chart but don't want legend entries to be visible.
788
 
789
A bug with separate data provider set to graph fixed.
790
 
791
If data set doesn't have field of comparing graph mapped, the legend won't display
792
entry for this data set at all.
793
 
794
2.6.13
795
FIXES:
796
When viewing a page with a chart from iOS browser, console logged some errors
797
 
798
gradientOrientation was ignored by area charts
799
 
800
plotAreaGradientAngle property added to AmRectangularChart, can accept 0, 90,
801
180 and 270 values.
802
 
803
2.6.12
804
FIXES:
805
Pie chart data labels were hidden behind other slices if labelRadius < 0
806
 
807
If chart was in a div with scrollbar, cursor was displayed in wrong position after
808
scrolling with FF.
809
 
810
Some other minor bugs fixed.
811
 
812
2.6.11
813
cursor and balloons were not shown on iPad when cursor.pan was set to true
814
 
815
Labels near XY chart bullets were placed incorrectly (since last version only)
816
 
817
If StockPanel had margins, drawing trenlines were offset by the size of the margin.
818
 
819
graph.connect property was not passed to comparing graph.
820
 
821
compareGraphBulletAlpha property added to StockGraph.
822
 
823
some minor bugs fixed.
824
 
825
2.6.10
826
AmCharts.baseHref property added. Set it to true if you are using base href in your
827
HTML. This will help so solve svg/base href bug (clip paths are not working and
828
gradient fills are displayed as balck).
829
 
830
Text can be wrapped again. Add \n in places you need new line in text.
831
 
832
Some other minor bugs fixed.
833
 
834
2.6.9
835
AmCharts.useUTC property added, default value is false. Set it to true if you
836
create dates using timestamps, like new Date(1256953732) and wish dates to be
837
formatted usin UTC instead of local time.
838
 
839
FIX:
840
If more than two colors were set for graph.fillColors, only two first colors
841
were used.
842
 
843
FIX:
844
chartCursor.bulletsEnabled was ignored, even set to true.
845
 
846
FIX: on IE8, if one slice was 100%, the circle wasn't displayed.
847
 
848
FIX: custom fields in balloonText were not supported by XY chart.
849
 
850
 
851
2.6.8
852
predefined period lost focus if a data set was selected
853
roll-over balloon disappeared when hovering the letter of event bullet
854
 
855
pieAlpha property was ignored.
856
plotAreaBorderAlpha was ignored if plotAreaAlphas was 0
857
column graph type was ignoring startEffect property.
858
chart property referencing to the chart object added to all event objects.
859
 
860
 
861
2.6.7
862
Pie slices became invisible if startAlpha was < 1 on <= IE8 browsers (since 2.6.6 only)
863
Performance with IE6 increased.
864
 
865
2.6.6
866
some minor bugs fixed.
867
 
868
2.6.5
869
some minor bugs fixed.
870
 
871
2.6.4
872
compareGraphNumberFormatter property added to StockGraph.
873
some minor bugs fixed.
874
 
875
2.6.3
876
some minor bugs fixed.
877
 
878
2.6.2
879
Bug with paneEventsEnabled and older firefox (< 4) fixed
880
 
881
//////////////////////////////////////////////////////////////////////////////////////
882
// IMPOTANT UPDATE ///////////////////////////////////////////////////////////////////
883
// 2.6.0           ///////////////////////////////////////////////////////////////////
884
//////////////////////////////////////////////////////////////////////////////////////
885
 
886
amCharts is no longer using raphael drawing library. New drawing engine is included
887
inside amstock.js file. The charts got a lot faster, the file size reduced by 70Kb!
888
 
889
//////////////////////////////////////////////////////////////////////////////////////
890
2.5.5
891
In new version of Chrome (17) a new bug was introduced - if touchEventsEnabled was set
892
to true, mouse events stopped working on normal browsers. Bug fixed in this version.
893
 
894
//////////////////////////////////////////////////////////////////////////////////////
895
2.5.4
896
Some minor bugs fixed
897
 
898
//////////////////////////////////////////////////////////////////////////////////////
899
2.5.3
900
Some minor bugs fixed
901
 
902
//////////////////////////////////////////////////////////////////////////////////////
903
2.5.2
904
Some minor bugs fixed
905
 
906
//////////////////////////////////////////////////////////////////////////////////////
907
2.5.1
908
Some minor bugs fixed
909
 
910
//////////////////////////////////////////////////////////////////////////////////////
911
// IMPORTANT UPDATE //////////////////////////////////////////////////////////////////
912
// 2.5.0            //////////////////////////////////////////////////////////////////
913
//////////////////////////////////////////////////////////////////////////////////////
914
 
915
Since v 2.5 we no longer distribute our old flash chart in this package, we hope this
916
will help to avoid a lot of misunderstandings. If you still want to use flash chart,
917
download it in a separate package from www.amcharts.com/download/
918
 
919
AmCharts.ready() method added so you don't need to use window.onload anymore. You can
920
use amCharts.ready as many times in one page as you want.
921
 
922
precision property added to ValueAxis.
923
 
924
if chart.usePrefixes is set, prefixes will be used both in balloons adn legend, not only
925
by valueAxis as before.
926
 
927
default value of autoGridCount property of AxisBase changed to true
928
 
929
default value of textClickEnabled of AmLegend changed to false
930
 
931
default value of hideResizeGrips of ChartScrollbar changed to false
932
 
933
 
934
//////////////////////////////////////////////////////////////////////////////////////
935
//////////////////////////////////////////////////////////////////////////////////////
936
2.1.9
937
Some minor bugs fixed.
938
 
939
2.1.8
940
Some minor bugs fixed.
941
 
942
2.1.7
943
FIXES:
944
if chartCursor.pan was set to true, mouse pointer didn't change back when off the area.
945
 
946
in some cases balloon flashed in a wrong position (IE only) for a second.
947
 
948
Rollover balloons used to overlap when all of the datapoints were very near the top of
949
the plot area.
950
 
951
Sometimes lines became blurry after window was resized.
952
 
953
v 16 of Chrome used to display warning about deprecated layerX and layerY properties.
954
 
955
Some other minor bugs fixed.
956
 
957
FEATURES:
958
 
959
boldPeriodBeginning property with default value true added to CoordinateAxis.
960
You can disable bolding of the beginning of a period (like year/month/etc) using
961
it.
962
 
963
2.1.6
964
Some minor bugs fixed.
965
 
966
2.1.5
967
Some minor bugs fixed.
968
 
969
2.1.4
970
Some minor bugs fixed.
971
 
972
2.1.3
973
Some minor bugs fixed.
974
 
975
2.1.2
976
Raphael.js updated to 2.0.1, some related issues in amCharts fixed.
977
 
978
2.1.1
979
 
980
version property added to AmStockChart. Indicates current version of the chart
981
script.
982
 
983
FIXES:
984
 
985
It was impossible to drag chart scrollbar if the mouse was over text in scrollbar.
986
Chart cursor stayed visible sometimes even mouse wasn't over the chart.
987
 
988
NEW FEATURES
989
 
990
equalWidths with default value "false" was added to LegendSettings. It allows
991
to save some space in the legend.