Archive for September, 2008

Fix for pie chart

Monday, September 29th, 2008

In version 1.6.0.0 of pie chart  {value} in data labels was displayed incorrectly. This problem is fixed in v 1.6.0.1, please update ampie.swf file.

Smoothed lines available in Stock chart

Sunday, September 28th, 2008

Since v 1.0.2.0 Stock chart supports line smoothing. The data points are connected with curves instead of straight lines. To achieve this, simply set:

<smoothed>true</smoothed> in the graph’s settings. Comparing graphs can also be smoothed, you should set: <comparing><smoothed>true</smoothed></comparing> In chart’s settings.

Other updates in this version:

Percent sign (%) is added automatically to the Y axis values when comparing data sets and the <recalculate> is set to "true".

Bug fix: when <equal_spacing> was set to "false" and there were multiple graphs with type "column", the columns were displaced incorrectly. This problem was fixed in this version.

Map of Russia added

Thursday, September 25th, 2008

Map of Russian federation was added to a package.

Two bug fixes

Wednesday, September 24th, 2008

Line & area chart: Previously some users complained that the mouse wheel is not scrolling the page when the mouse is over the chart. The fix was added in v 1.6.0.0, however it appeared that in some specific cases it might cause the whole page to act strangely when using mouse wheel. So this "fix" was removed in v 1.6.0.1. Later I will try to find a better way to solve the scrolling with a wheel problem.

Scatter & Bubble chart: There was a problem with reversed values – the data points were placed in a wrong position if the <reverse> was set to true. Fixed in v 1.6.0.1

AmCharts Bundle v 1.6.0.0: everything you expected

Thursday, September 18th, 2008

Version 1.6.0.0 of amCharts bundle has so many new features, that it wouldn’t be a shame to move to 2.0.0.0. Most of the requested features were added to this release.

Here are some most important:

  1. Scatter & Bubble chart supports zooming and scrolling;
  2. Bubbles in Scatter & Bubble chart can animate;
  3. Sequenced animation added for pie, column and scatter charts;
  4. Line chart can rescale when hiding/showing the graphs;
  5. Legend can automatically adjust it’s position to fit to the flash object’s area;
  6. Balloons of line chart no longer overlap;
  7. Balloons of all charts can have rounded corners and borders;
  8. Pie chart labels can automatically adjust their position to avoid overlapping;
  9. Pie chart can be filled with gradients;
  10. Multiple settings can be set with JavaScript function

Full list of changes can be found here or in readme.txt files.

Stock chart v 1.0.1.1 released

Wednesday, September 17th, 2008

New JavaScript function, flashMovie.setSettings(settings, rebuild) was added. It allows you to set multiple settings at a runtime. Here is the example:

flashMovie.setSettings("<settings><text_size>15</text_size><text_color>#CC0000</text_color></settings>");

The "rebuild" param might be "true" or "false". If you set it to "false", then the settings passed with this function will not be applied until you call another new function, flashMovie.rebuild() or set another set of settings with the "rebuild" set to "true". 

I recommend using this function even when setting one setting, instead of setParam() function.

New JavaScript function, flashMovie.getSettings() was added. If you call this function, the chart swf file returns settings XML by calling amReturnSettings(settings) function.

BUG FIXES:

If the <equal_spacing> was set to false, the amGetZoom returned wrong "to" value, also, the custom period selector selected period shorter by one interval.

JS functions: amRolledOver, amClickedOn, amRolledOverEvent and amClickedOnEvent used not to return chart_id variable. This is fixed now. Note, if you were using these functions before, you should add chart_id variable in front of the others, otherwise your
script will not work.

Updated documentation

Tuesday, September 9th, 2008

I invite you to check the new documentation: http://www.amcharts.com/docs

It was significantly improved, a lot of new examples added. A separate section for stock chart was added. I continue improving it all the time, so check back again.