Using new function, flashMovie.setSettings(settings, rebuild) You can control multiple settings. It is recommended to use this new function even for one setting, instead of setParam() function. The "rebuild" option might be "true" or "false" (the default is "true"). If you set it to "false", then the settings will not be applied until you call another new JS function: flashMovie.rebuild() or pass another set of settings with the "rebuild" set to "true".
A new function flashMovie.getSettings() will return the full settings XML by calling amReturnSettings(chart_id, settings) function.
When exporting chart as an image, the chart passes image data to JavaScript function: amReturnImageData(chart_id, data)
<labels> Can accept font color and font size HTML tags now, for example:
<text><![CDATA[Source: <font color="#CC0000" size="14">amCharts</font>]]></text>
<context_menu><default_items><zoom> default value was changed to "false", as it was not functioning properly.
additional_chart_settings do not require to receive full settings of <graph> or <label> anymore, you can change a single setting
Besides clustered, stacked and 100% stacked you can have 3d column now. The columns are positioned one behind another.
If you set <column><sequenced_grow> to "true" the columns will grow one after another, not all at the same time.
Using <column><hover_brightness> setting you can make your columns lighter or darker when the user roll-overs them.
New balloon settings allows you to have balloon border and rounded corners:
<balloon>
<max_width></max_width>
<corner_radius></corner_radius>
<border_width></border_width>
<border_alpha></border_alpha>
<border_color></border_color>
</balloon>
The legend now automatically adjusts bottom margin to fit to the flash object's area. If your X axis values are rotated, the legend position is adjusted not to overlap the values. In order this to work, you have to leave <legend><y> setting empty.
New bullet types are: square_outline and round_outline
Using <colors></colors> setting, you can set an array fo colors, which will be used if the graph's color is not set.
gradient_fill_colors attribute from the data file is now accepted.
When you click on the legend key, the graph is hidden or shown. Now the chart recalculates min and max values (rescales the chart) when you do this. You can turn this feature off by setting <rescale_on_hide> to "false".
The legend now automatically adjusts bottom margin to fit to the flash object's area. If your X axis values are rotated, the legend position is adjusted not to overlap the values. In order this to work, you have to leave <legend><y> setting empty.
Y ballons now do not overlap, even then the data points are close to each other.
New bullet types are: square_outline and round_outline
Previously you set the same <type> (line, stacked, 100% stacked) for both left and right axes. Now you can set the type separately. This setting is now in <axes> section.
New balloon settings allows you to have balloon border and rounded corners:
<balloon>
<only_one></only_one>
<on_off></on_off>
<color></color>
<alpha></alpha>
<text_color></text_color>
<text_size></text_size>
<max_width></max_width>
<corner_radius></corner_radius>
<border_width></border_width>
<border_alpha></border_alpha>
<border_color></border_color>
</balloon>
The <only_one> setting replaced the <indicator><one_y_balloon> setting, and the <on_off></on_off> replaced the <indicator><y_balloon_on_off>. The old ones will also work.
Using <colors></colors> setting, you can set an array fo colors, which will be used if the graph's color is not set.
Previously there were some cases when the min amd max values were calculated incorrectly - some part of the graph could hide outside the plot area.
Previously, if the graph had values missing, and <connect> was set to true, when zoomed-in, the graph line used to break. This is fixed now.
The chart now automatically avoids data label overlapping by adjusting label position. You can turn this off by setting <data_labels><avoid_overlapping> to "false".
The legend now automatically adjusts it's position to fit to the flash object's area. In order this to work, you have to leave <legend><y> setting empty.
You can have linear or radial gradients now by setting the gradient type in <pie><gradient> setting. The gradient ratio is defined in <pie><gradient_ratio> setting. IT accepts any number of numbers from -255 (dark)) to 255 (light), separated by commas.
If you set <animation><sequenced> to "true" the slices will appear one after another, not all at the same time.
Using <pie><hover_brightness> setting you can make your slices lighter or darker when the user roll-overs them.
New balloon settings allows you to have balloon border and rounded corners:
<balloon>
<max_width></max_width>
<corner_radius></corner_radius>
<border_width></border_width>
<border_alpha></border_alpha>
<border_color></border_color>
</balloon>
The chart has zoom and scroll (on both axes) now! The scroller is controlled in the <zoom> section. Settings for this section:
<zoom>
<enabled></enabled>
<max_factor></max_factor>
<border_color></border_color>
<border_alpha></border_alpha>
<bg_color></bg_color>
<bg_alpha></bg_alpha>
<target></target>
</zoom>
Scrollers, which appear when the chart is zoomed, are controlled here:
<scroller>
<enabled></enabled>
<color></color>
<alpha></alpha>
<bg_color></bg_color>
<bg_alpha></bg_alpha>
<height></height>
</scroller>
Attention! It is strongly not recommended to use dashed gridlines if the zoom is turned on. This might cause your script run slowly or even stop the script.
You can display help icon and text, like in line chart (you can explain for the users how zooming works). Help settings:
<help>
<button>
<x></x>
<y></y>
<color></color>
<alpha></alpha>
<text_color></text_color>
<text_color_hover></text_color_hover>
<text_size></text_size>
<text></text>
</button>
<balloon>
<color></color>
<alpha></alpha>
<width></width>
<text_color></text_color>
<text_size></text_size>
<text><![CDATA[]]></text>
</balloon>
</help>
New balloon settings allows you to have balloon border and rounded corners:
<balloon>
<corner_radius></corner_radius>
<border_width></border_width>
<border_alpha></border_alpha>
<border_color></border_color>
</balloon>
You can animate bubbles using 3 different effects. Animation can be sequenced. This is controlled in a new group of settings:
<bullets>
<hover_brightness></hover_brightness>
<grow_time></grow_time>
<sequenced_grow></sequenced_grow>
<grow_effect></grow_effect>
</bullets>
The legend now automatically adjusts bottom margin to fit to the flash object's area. If your X axis values are rotated, the legend position is adjusted not to overlap the values. In order this to work, you have to leave <legend><y> setting empty.
New bullet types are: bubble (3D circle), square_outline, round_outline, x, romb, triangle_up, triangle_down
Using <colors></colors> setting, you can set an array fo colors, which will be used if the graph's color is not set.
| © Antanas Marcelionis Contact and feedback: info@amcharts.com | Subscribe to amCharts news |