2010-07-14 amStock 1.3.0.0 ReleasedWe just released amStock 1.3.0.0 of amStock with a whole bunch of new and exciting features [Download]. Here’s the list: Logarithmic Scale for Y-axis Value axes can now use logarithmic scale. set <values><y_left><logarithmic> to true in order to make axis logarithmic. Note, logarithmic axis can't display values less or equal to zero. For this reason log scale won't be used when comparing data sets and values are recalculated to percent. Axis can be switched to logarithmic and backwards using JavaScript function setLogarithmic(chartId, axis, param). For example: flashMovie.setLogarithmic(0, "left", true); Trend Lines [Example] Users of the chart can now draw trend lines. To enable drawing, set <chart_trend_lines><drawing_enabled> to true. There are some more settings in this group which allows controlling color, opacity and some more properties of the lines. When drawing is enabled, pencil and eraser icons appear on top right corner of the chart. Check drawing_trend_lines example to see this in action. The same as events, trend lines can also be loaded from the file - file name is specified for each data set, using <trend_lines_file_name> setting. Check trend_lines.xml for an example of trend lines file. Trend lines can be added directly to the settings file: <data_set> <trend_lines> <trend_line> Using the same syntax as in the trend_lines.xml file. You can also set trend lines with JavaScript function flashMovie.setTrendLines(trend_lines, remove_old); where trend_lines is the same XML (one line sring). Trend lines can be shown or hidden with these JS functions: flashMovie.showTrendLines() flashMovie.hideTrendLines() Set Week Start It is now possible to define a weekday from which a week starts. Usually this is important for countries, where trading starts on Sunday. So, if your week starts on Sunday, set: <date_formats> <first_week_day>0</first_week_day> 0 is for Sunday, 1 - Monday, etc. The default value is 1.
<< Previous | All news | Next >>
|