2008-09-17 Stock chart v 1.0.1.1 releasedNew 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.
<< Previous | All news | Next >>
|