A lot of new features were added in Stock chart v 220.127.116.11:
Events in the settings file
Events can be added directly to the settings file, within <events></events> in the <data_set> section. This will allow you to have all the data in one file only.
Horizontal and vertical lines (guides)
The events were extended so that the chart can display horizontal and vertical guides (barriers). Check the new structured_products example to see how this is done.
Base date of recalculation
Previously, when comparing the data sets, the values were recalculated from the selected period first date or from the first date of the data set. Now you can set any base date. Value of a base date will be used as a base for recalculation. This might be useful for structured financial products. You can set the base using <base_data> setting in the <comparing> settings. Check the structured_products example to see how this is done.
You can show/hide events with a new JS functions: flashMovie.showEvents(); and flashMovie.hideEvents();
12 or 24 hour format in the legend and axis
12 hour time format can be displayed in the legend and axis values. To do this, you should set <hour_format>12</hour_format> in the date_formats settings. Hours in the data file must always be in 24 hour format.
Show comparing legend entries only
You can make the legend to display entries of comparing data sets only and not to display the legend entry of a graph by setting <comparing_only> in the graphs's legend settings.
Hide date in the legend when mouse is away from plot area
The date in the legend can be hidden when the mouse is not over the plot area. This might help you to avoid overlapping of date and legend entries, as the date takes more space when displaying period instead of single date. To hide the date, set: <hide_date_on_period>true</hide_date_on_period> in the chart's legend settings.
You can disable all the interactivity of a chart by setting <interactive>false</interactive>
A new group of settings - <error_messages> was added. You can disable error messages, set colors and opacity.
Keeping selected data sets after setSettings() function
setSettings(settings, rebuild, reset_selected)
flashMovie.print() and flashMovie.printAsBitmap() functions where not work properly in some cases.
JS functions amClickedOn(chart_id, date, period) and amRolledOver(chart_id, date, period) were returning not full date and undefined period in some cases.
JS function on error, amError(chart_id, message) wasn't called when the error occurred.