amcharts.rb 3.2.0.1 → 3.2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/Rakefile +1 -1
- data/amcharts.rb.gemspec +4 -0
- data/lib/amcharts/chart_builder.rb +1 -0
- data/lib/amcharts/version.rb +1 -1
- data/lib/tasks/amcharts.thor +87 -0
- data/vendor/assets/javascripts/amcharts/amcharts.js +311 -305
- data/vendor/assets/javascripts/amcharts/changeLog.txt +149 -99
- data/vendor/assets/javascripts/amcharts/exporting/amexport.js +330 -288
- data/vendor/assets/javascripts/amcharts/funnel.js +7 -7
- data/vendor/assets/javascripts/amcharts/gauge.js +17 -17
- data/vendor/assets/javascripts/amcharts/pie.js +9 -9
- data/vendor/assets/javascripts/amcharts/radar.js +5 -5
- data/vendor/assets/javascripts/amcharts/serial.js +41 -41
- data/vendor/assets/javascripts/amcharts/xy.js +17 -17
- metadata +59 -2
| @@ -1,85 +1,135 @@ | |
| 1 | 
            +
            #### 3.3.2 ####################################################################################################################
         | 
| 2 | 
            +
             | 
| 3 | 
            +
               # You can now set theme for all the charts on your page by setting:
         | 
| 4 | 
            +
                 AmCharts.theme = AmCharts.themes.light;  // or some other theme
         | 
| 5 | 
            +
                 If you are creating charts using JavaScript API, not JSON, then this is quite a comfortable way, as you won't need to
         | 
| 6 | 
            +
                 pass theme to each object you create.
         | 
| 7 | 
            +
             | 
| 8 | 
            +
               # bug fix: rendered event was fired only on first render, now it is fired each time the chart is rendered after
         | 
| 9 | 
            +
                 chart.validateNow(); method is called. This bug caused the export buttons to dissapear after the validateNow() method.
         | 
| 10 | 
            +
             | 
| 11 | 
            +
               # chartCursror.showNextAvalable property added (default is false). If true, the graph will display balloon on next
         | 
| 12 | 
            +
                 available data point if currently hovered item doesn't have value for this graph.
         | 
| 13 | 
            +
             | 
| 14 | 
            +
               # graph.periodSpan property added (default is 1). This property can be used by step graphs - you can set how many periods
         | 
| 15 | 
            +
                 one horizontal line should span.
         | 
| 16 | 
            +
             | 
| 17 | 
            +
               # "end" option added to graph.pointPosition property.
         | 
| 18 | 
            +
             | 
| 19 | 
            +
             | 
| 20 | 
            +
            #### 3.3.1 ####################################################################################################################
         | 
| 21 | 
            +
             | 
| 22 | 
            +
               # bug fix - \n was replaced with <br> in category axis and the tag was displayed
         | 
| 23 | 
            +
               # bug fix - if lineColorField or dashLengthField or fillColorsField was set, the graph could loose the setting if zoomed.
         | 
| 24 | 
            +
             | 
| 25 | 
            +
            #### 3.3.0 ####################################################################################################################
         | 
| 26 | 
            +
             | 
| 27 | 
            +
               # Since this version amCharts and amMap support themes. This means that instead of seting every property for each graph
         | 
| 28 | 
            +
                 or axis or any other object, you can set new defaults in a theme file. This will make devs' life a lot easier.
         | 
| 29 | 
            +
             | 
| 30 | 
            +
                 Currently you can find three themes in amcharts/themes folder - dark.js, light.js and chalk.js To set a theme for a chart,
         | 
| 31 | 
            +
                 simply set theme property to the name of the file: theme:"light". Note, this will work only if you are creating chart
         | 
| 32 | 
            +
                 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
         | 
| 33 | 
            +
                 each new object you build, for example: var graph = new AmCharts.AmGraph(AmCharts.themes.light);
         | 
| 34 | 
            +
             | 
| 35 | 
            +
                 We will be adding more themes soon. Check _usingThemes.html file in samples folder to see themes in action.
         | 
| 36 | 
            +
             | 
| 37 | 
            +
               # patterns property added to AmSlicedChart and AmCoordinateChart - instead of setting a pattern for a slice/graph, you can
         | 
| 38 | 
            +
                 pass array of patterns using this property.
         | 
| 39 | 
            +
             | 
| 40 | 
            +
               # you can now control zoom-out buttons with the following new properties of AmRectangularChart:
         | 
| 41 | 
            +
             | 
| 42 | 
            +
                    zoomOutButtonImageSize
         | 
| 43 | 
            +
                    zoomOutButtonImage
         | 
| 44 | 
            +
                    zoomOutButtonColor
         | 
| 45 | 
            +
                    zoomOutButtonAlpha
         | 
| 46 | 
            +
                    zoomOutButtonRollOverAlpha
         | 
| 47 | 
            +
                    zoomOutButtonPadding
         | 
| 48 | 
            +
             | 
| 49 | 
            +
               # some minor bugs fixed
         | 
| 50 | 
            +
             | 
| 1 51 | 
             
            #### 3.2.0 ####################################################################################################################
         | 
| 2 52 |  | 
| 3 53 |  | 
| 4 54 | 
             
               # AmCharts.makeChart(divID, chartConfig); method added. divID is id of a div where your chart should appear. chartConfig is
         | 
| 5 55 | 
             
                 JSON object with chart configuration. Check examples with _JSON_ prefix in samples folder to see this in action.
         | 
| 6 | 
            -
             | 
| 56 | 
            +
             | 
| 7 57 | 
             
               # type property added to AmChart class. It is required to specify type to one of the following, when creating charts from
         | 
| 8 58 | 
             
                 JSON config: serial, xy, radar, pie, gauge, funnel, map, stock
         | 
| 9 | 
            -
             | 
| 59 | 
            +
             | 
| 10 60 | 
             
               # a possibility to export charts as image/pdf/svg added for all modern browsers except IE9 (IE10 is supported). The
         | 
| 11 61 | 
             
                 exporting doesn't require any server side software and is made using js libraries only. Check samples with
         | 
| 12 62 | 
             
                 _exporting_ prefix to see this in action. Exporting to SVG doesn't work very properly with stock chart or charts with
         | 
| 13 63 | 
             
                 legend (will offer saving multiple files).
         | 
| 14 | 
            -
             | 
| 15 | 
            -
               # You can set any legend items via legend.data property, for example: | 
| 64 | 
            +
             | 
| 65 | 
            +
               # You can set any legend items via legend.data property, for example:
         | 
| 16 66 | 
             
                 legend.data = [{title:"first", color:"#CC0000", value:50}, {title:"second", color:"#00CC00", value:100}];
         | 
| 17 | 
            -
                 This allows creating any legend items you want. Call chart.legend.validateNow(); if you change legend's data at run time. | 
| 18 | 
            -
             | 
| 67 | 
            +
                 This allows creating any legend items you want. Call chart.legend.validateNow(); if you change legend's data at run time.
         | 
| 68 | 
            +
             | 
| 19 69 | 
             
               # AmAngularGauge supports legend now
         | 
| 20 | 
            -
             | 
| 70 | 
            +
             | 
| 21 71 | 
             
               # bug fix - if a chart with scrollbar was rotated after the chart is created, the scrollbar's graph was shifted to a wrong
         | 
| 22 72 | 
             
                 position.
         | 
| 23 | 
            -
             | 
| 73 | 
            +
             | 
| 24 74 | 
             
               # bug fix - column graph type wasn't displayed in chart scrollbar (since 3.1.0)
         | 
| 25 | 
            -
             | 
| 75 | 
            +
             | 
| 26 76 | 
             
               # gridAboveGraphs property added to AmCoordinate chart. This allow to show grid lines above your graphs, as world-famous
         | 
| 27 77 | 
             
                 data visualization guru Edward Tufte suggests. Note, this won't work properly with 3D charts.
         | 
| 28 | 
            -
             | 
| 78 | 
            +
             | 
| 29 79 | 
             
               # negative axis labels rotation possible. You can use values from -90 to -1 for labelRotation property since now.
         | 
| 30 | 
            -
             | 
| 80 | 
            +
             | 
| 31 81 | 
             
               # bug fix: step line with changing line color was rendered incorrectly if some values were missing.
         | 
| 32 | 
            -
             | 
| 82 | 
            +
             | 
| 33 83 | 
             
               # bug fix: labelPosition "inside" and "middle" for bar charts fixed.
         | 
| 34 | 
            -
             | 
| 35 | 
            -
               # bug fix: AmAngularGauge chart wasn't firing "rendered" event. | 
| 84 | 
            +
             | 
| 85 | 
            +
               # bug fix: AmAngularGauge chart wasn't firing "rendered" event.
         | 
| 36 86 |  | 
| 37 87 |  | 
| 38 88 | 
             
            #### 3.1.1 ####################################################################################################################
         | 
| 39 89 |  | 
| 40 90 | 
             
               # FireFox error messages about style declarations fixed
         | 
| 41 | 
            -
             | 
| 91 | 
            +
             | 
| 42 92 | 
             
               # Bug fix: maxWidth property of AmBalloon was ignored
         | 
| 43 | 
            -
             | 
| 93 | 
            +
             | 
| 44 94 | 
             
               # Some other minor bugs fixed
         | 
| 45 | 
            -
             | 
| 95 | 
            +
             | 
| 46 96 |  | 
| 47 97 | 
             
            #### 3.1.0 ####################################################################################################################
         | 
| 48 98 |  | 
| 49 99 | 
             
                 Great new features added - charts now support patterns (can fill bars, lines and slices with images) and can simulate
         | 
| 50 100 | 
             
                 hand drawn charts - the lines will be a bit distorted and produce a nice effect. Check our new inspiring samples at
         | 
| 51 101 | 
             
                 http://www.amcharts.com/inspiration/ to see new possibilities in action.
         | 
| 52 | 
            -
             | 
| 102 | 
            +
             | 
| 53 103 | 
             
               # patterns
         | 
| 54 104 | 
             
                 Patterns can be set for entire graphs or for individual columns/slices. In case you want to set pattern for a graph, use
         | 
| 55 105 | 
             
                 pattern property of AmGraph. If you want to set individual pattern for a column or slice, describe patterns in chart's
         | 
| 56 106 | 
             
                 data and set patternField for a graph or pie/funnel chart. Value of pattern should be object with url, width, height of an
         | 
| 57 107 | 
             
                 image, optionally it might have x, y, randomX and randomY values. For example:
         | 
| 58 | 
            -
             | 
| 108 | 
            +
             | 
| 59 109 | 
             
                 graph.pattern = {"url":"../amcharts/patterns/black/pattern1.png", "width":4, "height":4};
         | 
| 60 | 
            -
             | 
| 110 | 
            +
             | 
| 61 111 | 
             
                 check amcharts/patterns folder for some patterns. You can create your own patterns and use them.
         | 
| 62 | 
            -
             | 
| 112 | 
            +
             | 
| 63 113 | 
             
                 Note, x, y, randomX and randomY properties won't work with IE8 and older.
         | 
| 64 | 
            -
             | 
| 114 | 
            +
             | 
| 65 115 | 
             
                 Check handDrawnChart.html, pieWithPatterns.html or columnWithPatterns.html examples to see this in action.
         | 
| 66 | 
            -
             | 
| 116 | 
            +
             | 
| 67 117 | 
             
                 Note, 3D bar/Pie charts won't work properly with patterns.
         | 
| 68 | 
            -
             | 
| 118 | 
            +
             | 
| 69 119 | 
             
               # hand-drawn style
         | 
| 70 120 | 
             
                 if you set chart.handDrawn = true, the lines of a chart will be distorted and will produce hand-drawn effect.
         | 
| 71 121 | 
             
                 You can also modify chart.handDrawScatter (default value is 2) and chart.handDrawThickness (default value 1) values for
         | 
| 72 122 | 
             
                 more scattered view.
         | 
| 73 | 
            -
             | 
| 123 | 
            +
             | 
| 74 124 | 
             
               # offsetY and offsetX properties added to AmBalloon. Specifies the distance from the mouse position to balloon's pointer.
         | 
| 75 125 | 
             
                 You might want to increase distance when using hand drawn style.
         | 
| 76 | 
            -
             | 
| 126 | 
            +
             | 
| 77 127 | 
             
               # Some minor problems fixed
         | 
| 78 128 |  | 
| 79 129 | 
             
            #### 3.0.1 ####################################################################################################################
         | 
| 80 | 
            -
             | 
| 130 | 
            +
             | 
| 81 131 | 
             
                 Some very minor bugs which usually pop right after big release fixed.
         | 
| 82 | 
            -
             | 
| 132 | 
            +
             | 
| 83 133 | 
             
            #### 3.0.0 ####################################################################################################################
         | 
| 84 134 |  | 
| 85 135 | 
             
            **** Several files ****
         | 
| @@ -100,8 +150,8 @@ | |
| 100 150 | 
             
               # Funnel / Pyramid chart.
         | 
| 101 151 | 
             
                 Check funnelChart.html and pyramidChart.html examples. As this chart type has a lot of in common
         | 
| 102 152 | 
             
                 with pie chart, we created one base class for these chart types - AmSlicedChart. AmPieChart and AmFunnelChart now extend
         | 
| 103 | 
            -
                 this class. Visit our online class reference for properties and methods of AmFunnelChart. | 
| 104 | 
            -
             | 
| 153 | 
            +
                 this class. Visit our online class reference for properties and methods of AmFunnelChart.
         | 
| 154 | 
            +
             | 
| 105 155 | 
             
               # Angular Gauge
         | 
| 106 156 | 
             
                 Supports multiple axes and multiple arrows. Check the following examples: angularGauge.html,
         | 
| 107 157 | 
             
                 angularGaugeWithTwoAxes.html, clock.html, clockWithTwoFaces.html. Visit our online class reference for properties and
         | 
| @@ -112,11 +162,11 @@ | |
| 112 162 | 
             
                We added lots of new features to our charts and with these features you can create new chart types, like:
         | 
| 113 163 |  | 
| 114 164 | 
             
                # Horizontal or vertical bullet chart - bulletChart.html
         | 
| 115 | 
            -
             | 
| 165 | 
            +
             | 
| 116 166 | 
             
                # Waterfall chart - waterFallChart.html
         | 
| 117 | 
            -
             | 
| 167 | 
            +
             | 
| 118 168 | 
             
                # Step chart without risers - lineStepNoRisers.html
         | 
| 119 | 
            -
             | 
| 169 | 
            +
             | 
| 120 170 | 
             
                # Error chart (both Serial and XY) - errorChart.html
         | 
| 121 171 |  | 
| 122 172 | 
             
            *** Other new features ***
         | 
| @@ -124,99 +174,99 @@ | |
| 124 174 | 
             
                # Possibility to show minor grid for both Category and Value axis. minorGridEnabled (default value false) and
         | 
| 125 175 | 
             
                  minorGridAlpha (default 0.07) properties added to AxisBase class.
         | 
| 126 176 | 
             
                  Example: lineWithScrollAndZoom.html
         | 
| 127 | 
            -
             | 
| 128 | 
            -
             | 
| 177 | 
            +
             | 
| 178 | 
            +
             | 
| 129 179 | 
             
                # Possibility to change line graphs' line/fill color on any data point to create highlighted sections of the graph.
         | 
| 130 180 | 
             
                  To achieve this, you should set lineColorField and/or fillColorsField for your graph and have a field in your data
         | 
| 131 181 | 
             
                  which would contain color values at a point where you want the graph to change it's color.
         | 
| 132 182 | 
             
                  Example: lineWithChangingColor.html
         | 
| 133 | 
            -
             | 
| 134 | 
            -
             | 
| 183 | 
            +
             | 
| 184 | 
            +
             | 
| 135 185 | 
             
                # Possibility to switch line from solid to dashed. Columns can also have dashed outline. To achieve this, you should set
         | 
| 136 186 | 
             
                  dashLengthField for your graph and have a field in your data which would contain dashLength value at a point where you
         | 
| 137 187 | 
             
                  want the graph to change from solid to dashed or vice versa.
         | 
| 138 188 | 
             
                  Example: lineWithDifferentBulletSizes.html and columnAndLineMix.html
         | 
| 139 | 
            -
             | 
| 140 | 
            -
             | 
| 189 | 
            +
             | 
| 190 | 
            +
             | 
| 141 191 | 
             
                # Date strings in data now supported. Even if your chart parses dates, you can pass them as strings in your data � all you
         | 
| 142 192 | 
             
                  need to do is to set data date format and the chart will parse dates to date objects. This means that now data for
         | 
| 143 193 | 
             
                  date-based chart can be in legit JSON format. dataDateFormat property added to AmSerialChart and AmStockChart.
         | 
| 144 194 | 
             
                  Example: lineWithChangingColor.html, lineWithTrendLines.html and some more.
         | 
| 145 | 
            -
             | 
| 146 | 
            -
             | 
| 195 | 
            +
             | 
| 196 | 
            +
             | 
| 147 197 | 
             
                # When moving chart cursor over the chart, hovered bullets can change their size. If a graph has bullets and you added
         | 
| 148 198 | 
             
                  ChartCursor to the chart, bullets will become bigger when char cursor is over them. graphBulletSize property with
         | 
| 149 199 | 
             
                  default value 1.7 added to ChartCursor. If you want to disable this feature, set the value to 1.
         | 
| 150 200 | 
             
                  Example: lineWithLogarithmicValueAxis.html, lineWithScrollAndZoom.html and some more.
         | 
| 151 | 
            -
             | 
| 152 | 
            -
             | 
| 201 | 
            +
             | 
| 202 | 
            +
             | 
| 153 203 | 
             
                # Legend can now display period value. When user is not hovering the chart, legend can show sum, average, open, close, low
         | 
| 154 204 | 
             
                  or high values of selected period. periodValueText added to AmLegend and legendPeriodValueText added to AmGraph to
         | 
| 155 205 | 
             
                  achieve this. The tags should be made out of two parts - the name of a field (value / open / close / high / low) and the
         | 
| 156 206 | 
             
                  value of the period you want to be show - open / close / high / low / sum / average / count. For example: [[value.sum]]
         | 
| 157 207 | 
             
                  means that  sum of all data points of value field in the selected period will be displayed.
         | 
| 158 208 | 
             
                  Example: area100PercentStacked.html and areaStacked.html
         | 
| 159 | 
            -
             | 
| 209 | 
            +
             | 
| 160 210 | 
             
                  To achieve the same with stock chart, we added periodValueTextRegular and periodValueTextComparing proprties to
         | 
| 161 211 | 
             
                  StockLegend. To show percent period values, you should add "percent." prefix for your tag, for example:
         | 
| 162 212 | 
             
                  [[percents.value.close]] means that last percent value of a period will be displayed.
         | 
| 163 213 | 
             
                  Example: stockMultiplePanels.html and stockMultipleDataSets.html
         | 
| 164 | 
            -
             | 
| 165 | 
            -
             | 
| 214 | 
            +
             | 
| 215 | 
            +
             | 
| 166 216 | 
             
                # Legend markers can now mirror graph�s settings, displaying a line and a real bullet as in the graph itself.
         | 
| 167 217 | 
             
                  useGraphSettings property with default value false was added to AmLegend. Note, we also removed "line" and "dashedLine"
         | 
| 168 218 | 
             
                  marker types because of this - use the useGraphSettings feature in case you need lines as markers in the legend.
         | 
| 169 | 
            -
                  Example: lineWithDifferentBulletSizes.html and lineWithMultipleValueAxes.html | 
| 170 | 
            -
             | 
| 171 | 
            -
             | 
| 219 | 
            +
                  Example: lineWithDifferentBulletSizes.html and lineWithMultipleValueAxes.html
         | 
| 220 | 
            +
             | 
| 221 | 
            +
             | 
| 172 222 | 
             
                # Legend now supports custom markers (images). customMarker property was added to AmGraph. You should set path to the image
         | 
| 173 223 | 
             
                  which should be displayed in the legend.
         | 
| 174 | 
            -
             | 
| 175 | 
            -
             | 
| 224 | 
            +
             | 
| 225 | 
            +
             | 
| 176 226 | 
             
                # Diamond bullet type added. Set graph.bullet = "diamond" to use it.
         | 
| 177 | 
            -
             | 
| 178 | 
            -
             | 
| 227 | 
            +
             | 
| 228 | 
            +
             | 
| 179 229 | 
             
                # Dynamic bullet size based on value axis / Error chart.
         | 
| 180 230 | 
             
                  Error chart is a regular serial or XY chart with bullet type set to "errorX" or "errorY". The graph should know which axis
         | 
| 181 231 | 
             
                  should be used to determine the size of this bullet - that's when graph.bulletAxis property should be set. Besides that,
         | 
| 182 232 | 
             
                  you should also set graph.errorField. You can also use other bullet types with this feature too. For example, if you set
         | 
| 183 233 | 
             
                  bulletAxis for XY chart, the size of a bullet will change as you zoom the chart.
         | 
| 184 234 | 
             
                  Example: errorChart.html
         | 
| 185 | 
            -
             | 
| 186 | 
            -
             | 
| 235 | 
            +
             | 
| 236 | 
            +
             | 
| 187 237 | 
             
                # You can specify custom column width for each graph individually. columnWidth property added to AmGraph. Note, you set
         | 
| 188 238 | 
             
                  relative width here (0 - 1), not width in pixels.
         | 
| 189 239 | 
             
                  Example: bulletChart.html
         | 
| 190 | 
            -
             | 
| 191 | 
            -
             | 
| 240 | 
            +
             | 
| 241 | 
            +
             | 
| 192 242 | 
             
                # Columns can be overlaid on other columns, without making axis as stacked. clustered property added to AmGraph. In case you
         | 
| 193 243 | 
             
                  want to place graph's columns in front of other columns, set it to false.
         | 
| 194 244 | 
             
                  Example: bulletChart.html
         | 
| 195 | 
            -
             | 
| 196 | 
            -
             | 
| 245 | 
            +
             | 
| 246 | 
            +
             | 
| 197 247 | 
             
                # Resize grips were made bigger to make life easier for users on touch devices.
         | 
| 198 | 
            -
             | 
| 199 | 
            -
             | 
| 248 | 
            +
             | 
| 249 | 
            +
             | 
| 200 250 | 
             
                # Balloons can now display any HTML and CSS inside them. This means you can add images, format text or display just about
         | 
| 201 251 | 
             
                  any HTML/CSS content. Because of this new feature, we removed textShadow property of AmBalloon in this version.
         | 
| 202 252 | 
             
                  Example: areaStacked.html, barStacked.html and many other.
         | 
| 203 | 
            -
             | 
| 204 | 
            -
             | 
| 253 | 
            +
             | 
| 254 | 
            +
             | 
| 205 255 | 
             
                # Balloon now can animate from point to point and also fade out when user moves away from the chart. animationDuration and
         | 
| 206 256 | 
             
                  fadeOutDuration properties added to AmBalloon, with default values 0.3. animationDuration property was also added to
         | 
| 207 257 | 
             
                  ChartCursor, so that the cursor line would also animate to its position.
         | 
| 208 258 | 
             
                  Example: any chart with balloon.
         | 
| 209 | 
            -
             | 
| 210 | 
            -
             | 
| 259 | 
            +
             | 
| 260 | 
            +
             | 
| 211 261 | 
             
                # Balloon now can display shadow. shadowColor (default #000000) and shadowAlpha (default 0.4) added to AmBalloon.
         | 
| 212 262 | 
             
                  Example: any chart with balloon.
         | 
| 213 | 
            -
             | 
| 214 | 
            -
             | 
| 263 | 
            +
             | 
| 264 | 
            +
             | 
| 215 265 | 
             
                # Some default values of AmBalloon changed for a better usability - adjustBorderColor to true, cornerRadius to 0,
         | 
| 216 266 | 
             
                  pointerWidth to 6, color to #000000.
         | 
| 217 267 | 
             
                  Example: any chart with balloon.
         | 
| 218 | 
            -
             | 
| 219 | 
            -
             | 
| 268 | 
            +
             | 
| 269 | 
            +
             | 
| 220 270 | 
             
                # Stock chart can display scrollbar on top of the chart.
         | 
| 221 271 | 
             
                  Example: stockIntradayData.html
         | 
| 222 272 |  | 
| @@ -315,8 +365,8 @@ takes precedence over categoryField. When a chart calls this method, it passes c | |
| 315 365 | 
             
            chart's data provider and reference to categoryAxis: categoryFunction(category, dataItem, categoryAxis);
         | 
| 316 366 | 
             
            This method can be used both when category axis parses dates and when it doesn't. If axis parses dates, your
         | 
| 317 367 | 
             
            categoryFunction should return Date object.
         | 
| 318 | 
            -
             | 
| 319 | 
            -
            ****** | 
| 368 | 
            +
             | 
| 369 | 
            +
            ******
         | 
| 320 370 | 
             
            labelFunction added to AxisBase. You can use it to format both Value and Category axis labels. If this function
         | 
| 321 371 | 
             
            is set for ValueAxis, it is called and these parameters are passed: labelFunction(value, valueText, valueAxis);
         | 
| 322 372 | 
             
            Where value is numeric value, valueText is formatted string and valueAxis is a reference to valueAxis object.
         | 
| @@ -433,7 +483,7 @@ Init event wasn't fired by AmPieChart. | |
| 433 483 | 
             
            Step line's corners sometimes were not perfect (one extra pixel could be added
         | 
| 434 484 | 
             
            in the end of horizontal line)
         | 
| 435 485 |  | 
| 436 | 
            -
            You couldn't change panEventsEnabled of AmChart class after the chart was | 
| 486 | 
            +
            You couldn't change panEventsEnabled of AmChart class after the chart was
         | 
| 437 487 | 
             
            initialized.
         | 
| 438 488 |  | 
| 439 489 | 
             
            You couldn't chane legend's position after the chart was initialized.
         | 
| @@ -489,7 +539,7 @@ Printing in IE8 fixed; | |
| 489 539 | 
             
            Two typos in property names fixed:
         | 
| 490 540 |  | 
| 491 541 | 
             
            ValueAxis.minMaxMultiplier (instead of minMaxMultiplayer)
         | 
| 492 | 
            -
            and | 
| 542 | 
            +
            and
         | 
| 493 543 | 
             
            ValueAxis.synchronizationMultiplier (instead of synchronizationMultiplyer)
         | 
| 494 544 |  | 
| 495 545 | 
             
            We do not longer support old names with errors, so you should adjust names if you use
         | 
| @@ -501,7 +551,7 @@ some other minor bugs fixed. | |
| 501 551 |  | 
| 502 552 | 
             
            ValueAxis.minMaxMultiplier was ignored if min (or max) value was equal to 0.
         | 
| 503 553 | 
             
            In some cases, when legend position was set to "left", chart might be positioned
         | 
| 504 | 
            -
            incorrectly. | 
| 554 | 
            +
            incorrectly.
         | 
| 505 555 |  | 
| 506 556 | 
             
            2.7.6
         | 
| 507 557 |  | 
| @@ -537,7 +587,7 @@ smaller than 1 numbers were formatted incorrectly in some cases. | |
| 537 587 | 
             
            2.7.2
         | 
| 538 588 | 
             
            Usabilty with touch devices improved - scrollbar's drag icons has a bigger hit area.
         | 
| 539 589 |  | 
| 540 | 
            -
            Some bugs fixed. | 
| 590 | 
            +
            Some bugs fixed.
         | 
| 541 591 |  | 
| 542 592 | 
             
            2.7.1
         | 
| 543 593 | 
             
            chart.removeLegend() was not working properly.
         | 
| @@ -556,7 +606,7 @@ displayed behind column graphs. | |
| 556 606 | 
             
            "init" event added to AmChart. Event is fired right after the chart is initialized
         | 
| 557 607 | 
             
            for the very first time.
         | 
| 558 608 |  | 
| 559 | 
            -
            totalText property added to ValueAxis. Usage example: | 
| 609 | 
            +
            totalText property added to ValueAxis. Usage example:
         | 
| 560 610 | 
             
            valueAxis.totalText = "total: [[total]]"
         | 
| 561 611 | 
             
            It works only if the chart has column graphs and stackType is set to "regular" or "100%".
         | 
| 562 612 |  | 
| @@ -571,14 +621,14 @@ When viewing a page with a chart from iOS browser, console logged some errors | |
| 571 621 |  | 
| 572 622 | 
             
            gradientOrientation was ignored by area charts
         | 
| 573 623 |  | 
| 574 | 
            -
            plotAreaGradientAngle property added to AmRectangularChart, can accept 0, 90, | 
| 624 | 
            +
            plotAreaGradientAngle property added to AmRectangularChart, can accept 0, 90,
         | 
| 575 625 | 
             
            180 and 270 values.
         | 
| 576 626 |  | 
| 577 627 | 
             
            2.6.12
         | 
| 578 628 | 
             
            FIXES:
         | 
| 579 629 | 
             
            Pie chart data labels were hidden behind other slices if labelRadius < 0
         | 
| 580 630 |  | 
| 581 | 
            -
            If chart was in a div with scrollbar, cursor was displayed in wrong position after | 
| 631 | 
            +
            If chart was in a div with scrollbar, cursor was displayed in wrong position after
         | 
| 582 632 | 
             
            scrolling with FF.
         | 
| 583 633 |  | 
| 584 634 | 
             
            Some other minor bugs fixed.
         | 
| @@ -613,13 +663,13 @@ chartCursor.bulletsEnabled was ignored, even set to true. | |
| 613 663 |  | 
| 614 664 | 
             
            FIX: on IE8, if one slice was 100%, the circle wasn't displayed.
         | 
| 615 665 |  | 
| 616 | 
            -
            FIX: custom fields in balloonText were not supported by XY chart. | 
| 666 | 
            +
            FIX: custom fields in balloonText were not supported by XY chart.
         | 
| 617 667 |  | 
| 618 668 | 
             
            2.6.8
         | 
| 619 669 | 
             
            pieAlpha property was ignored.
         | 
| 620 670 | 
             
            plotAreaBorderAlpha was ignored if plotAreaAlphas was 0
         | 
| 621 671 | 
             
            column graph type was ignoring startEffect property.
         | 
| 622 | 
            -
            chart property referencing to the chart object added to all event objects. | 
| 672 | 
            +
            chart property referencing to the chart object added to all event objects.
         | 
| 623 673 |  | 
| 624 674 | 
             
            2.6.7
         | 
| 625 675 | 
             
            Pie slices became invisible if startAlpha was < 1 on <= IE8 browsers (since 2.6.6 only)
         | 
| @@ -637,7 +687,7 @@ some minor bugs fixed. | |
| 637 687 | 
             
            2.6.4
         | 
| 638 688 | 
             
            minSelectedTime property added to AmSerialTime
         | 
| 639 689 |  | 
| 640 | 
            -
            some minor bugs fixed. | 
| 690 | 
            +
            some minor bugs fixed.
         | 
| 641 691 |  | 
| 642 692 | 
             
            2.6.3
         | 
| 643 693 | 
             
            zoom-out button wasn't working on iPad (only since 2.6.0)
         | 
| @@ -657,7 +707,7 @@ inside amcharts.js file. The charts got a lot faster, the file size reduced by 7 | |
| 657 707 | 
             
            2.5.5
         | 
| 658 708 | 
             
            In new version of Chrome (17) a new bug was introduced - if touchEventsEnabled was set
         | 
| 659 709 | 
             
            to true, mouse events stopped working on normal browsers. Bug fixed in this version.
         | 
| 660 | 
            -
             | 
| 710 | 
            +
             | 
| 661 711 | 
             
            //////////////////////////////////////////////////////////////////////////////////////
         | 
| 662 712 | 
             
            2.5.4
         | 
| 663 713 | 
             
            Some minor bugs fixed
         | 
| @@ -690,10 +740,10 @@ source code commented. | |
| 690 740 | 
             
            BIG NEW FEATURES:
         | 
| 691 741 |  | 
| 692 742 | 
             
            Automatic margins
         | 
| 693 | 
            -
            margins of RectangularChart (Serial and XY charts) are calculated automatically now. | 
| 743 | 
            +
            margins of RectangularChart (Serial and XY charts) are calculated automatically now.
         | 
| 694 744 | 
             
            You can still work in old way by setting margins manually - set chart.autoMargins to
         | 
| 695 745 | 
             
            false.
         | 
| 696 | 
            -
             | 
| 746 | 
            +
             | 
| 697 747 | 
             
            Axis titles
         | 
| 698 748 | 
             
            Previously you had to use addLabel method in order to give name to the axis. Since
         | 
| 699 749 | 
             
            this version we introduced title property for AxisBase, so you can name both Category
         | 
| @@ -701,7 +751,7 @@ and Value Axes now much more easily. | |
| 701 751 |  | 
| 702 752 | 
             
            Chart title
         | 
| 703 753 | 
             
            Same as with axes titles - previously you had to use addLabel method to name a chart.
         | 
| 704 | 
            -
            Now you can add any number of titles using | 
| 754 | 
            +
            Now you can add any number of titles using
         | 
| 705 755 | 
             
            chart.addTitle(text, size, color, alpha, bold) method. Chart title is taken into account
         | 
| 706 756 | 
             
            when calculating margins, also position of pie/radar center.
         | 
| 707 757 |  | 
| @@ -709,7 +759,7 @@ Trend lines | |
| 709 759 | 
             
            Chart can display Trend lines now.
         | 
| 710 760 |  | 
| 711 761 | 
             
            AmCharts.ready() method added so you don't need to use window.onload anymore. You can
         | 
| 712 | 
            -
            use amCharts.ready as many times in one page as you want. | 
| 762 | 
            +
            use amCharts.ready as many times in one page as you want.
         | 
| 713 763 |  | 
| 714 764 | 
             
            NOT SO BIG NEW FEATURES:
         | 
| 715 765 |  | 
| @@ -728,7 +778,7 @@ default value of textClickEnabled of AmLegend changed to false | |
| 728 778 | 
             
            default value of hideResizeGrips of ChartScrollbar changed to false
         | 
| 729 779 |  | 
| 730 780 | 
             
            All margins of RectangularChart changed to 20, as they can still be used for sides
         | 
| 731 | 
            -
            without axes. | 
| 781 | 
            +
            without axes.
         | 
| 732 782 |  | 
| 733 783 |  | 
| 734 784 | 
             
            //////////////////////////////////////////////////////////////////////////////////////
         | 
| @@ -751,7 +801,7 @@ in some cases balloon flashed in a wrong position (IE only) for a second. | |
| 751 801 |  | 
| 752 802 | 
             
            amFallback used to fail on older IE with <visible_in_legend> set to false.
         | 
| 753 803 |  | 
| 754 | 
            -
            Rollover balloons used to overlap when all of the datapoints were very near the top of | 
| 804 | 
            +
            Rollover balloons used to overlap when all of the datapoints were very near the top of
         | 
| 755 805 | 
             
            the plot area.
         | 
| 756 806 |  | 
| 757 807 | 
             
            Sometimes lines became blurry after window was resized.
         | 
| @@ -766,7 +816,7 @@ FEATURES: | |
| 766 816 |  | 
| 767 817 | 
             
            boldPeriodBeginning property with default value true added to CoordinateAxis.
         | 
| 768 818 | 
             
            You can disable bolding of the beginning of a period (like year/month/etc) using
         | 
| 769 | 
            -
            it. | 
| 819 | 
            +
            it.
         | 
| 770 820 |  | 
| 771 821 | 
             
            2.4.5
         | 
| 772 822 | 
             
            some bugs fixed
         | 
| @@ -810,28 +860,28 @@ some minor bugs fixed. | |
| 810 860 | 
             
            2.3.0
         | 
| 811 861 | 
             
            Fixes in Flash version:
         | 
| 812 862 |  | 
| 813 | 
            -
            	Since the release of Flash Player 11, calling setSettings could cause browser | 
| 863 | 
            +
            	Since the release of Flash Player 11, calling setSettings could cause browser
         | 
| 814 864 | 
             
            	crash. This problem fixed in this version. You only need to overwrite swf files.
         | 
| 815 865 |  | 
| 816 866 | 
             
            Fixes in JavaScript version:
         | 
| 817 867 |  | 
| 818 868 | 
             
            	Rollover balloon with cornerRadius set to 0 was distorted when it's close to the
         | 
| 819 869 | 
             
            	plot area's top.
         | 
| 820 | 
            -
             | 
| 870 | 
            +
             | 
| 821 871 | 
             
            	amClickGraphItem event wasn't working for Radar Chart.
         | 
| 822 | 
            -
             | 
| 872 | 
            +
             | 
| 823 873 | 
             
            	graph.showBalloon = false was ignored.
         | 
| 824 | 
            -
             | 
| 874 | 
            +
             | 
| 825 875 | 
             
            	The last item in chart.colors array was ignored.
         | 
| 826 | 
            -
             | 
| 876 | 
            +
             | 
| 827 877 | 
             
            	3D stacked bar charts had layer order problems.
         | 
| 828 878 |  | 
| 829 879 | 
             
            New features in JavaScript version:
         | 
| 830 880 |  | 
| 831 881 | 
             
            	minBulletSize property added to AmGraph. Might be useful for XY chart.
         | 
| 832 | 
            -
             | 
| 882 | 
            +
             | 
| 833 883 | 
             
            	animateAgain() method added to all charts. Will trigger animation.
         | 
| 834 | 
            -
             | 
| 884 | 
            +
             | 
| 835 885 | 
             
            2.2.1
         | 
| 836 886 | 
             
            Changes were made in JavaScript version only.
         | 
| 837 887 |  | 
| @@ -844,7 +894,7 @@ at a time will be displayed. Default value is false. | |
| 844 894 | 
             
            Some minor bugs were fixed.
         | 
| 845 895 |  | 
| 846 896 | 
             
            2.2.0
         | 
| 847 | 
            -
            JavaScript version of XY Chart is now available. | 
| 897 | 
            +
            JavaScript version of XY Chart is now available.
         | 
| 848 898 | 
             
            Code was optimized so even with this new chart the size of a file got smaller!
         | 
| 849 899 | 
             
            Some minor bugs fixed in JS version.
         | 
| 850 900 | 
             
            We decided to remove a possibility to have gradient fills of JS pie chart as this
         | 
| @@ -875,8 +925,8 @@ an error used to happen with Chrome while animating. | |
| 875 925 |  | 
| 876 926 | 
             
            Legend marker type "bubble" wasn't working at all.
         | 
| 877 927 |  | 
| 878 | 
            -
            Legend marker type "line" or "dashed line" wasn't registering clicks on the marker. | 
| 879 | 
            -
             | 
| 928 | 
            +
            Legend marker type "line" or "dashed line" wasn't registering clicks on the marker.
         | 
| 929 | 
            +
             | 
| 880 930 | 
             
            2.1.0
         | 
| 881 931 | 
             
            Radar/Polar chart added to JavaScript charts
         | 
| 882 932 | 
             
            Some bug fixes/tweaks in both flash and JavaScript versions.
         |