Archive for July, 2010

Stock Chart for WPF & Silverlight v.1.3 Released

Wednesday, July 21st, 2010

We have just released version 1.3 of amCharts Stock Chart for WPF & Silverlight. This version focuses on data grouping improvements. Several intermediate grouping points were added to make grouping switching smoother in time range.

Note: if you’ve used DataGroupingInterval enumeration explicitly in your code make sure to recompile your project against new dll and verify that your code is working properly.

Download amCharts Stock Chart for WPF & Silverlight

Here’s a complete change log:

  • FEATURE ADDED: added more DataGroupingInterval values for smoother grouping in "time" range. NOTE: if your code used DataGroupingInterval enum directly make sure everything works as expected since values were inserted between other values.
  • FEATURE ADDED: added StockChart.MinimumDataGroupingInterval and MaximumDataGroupingInterval properties to constrain automatic data grouping interval switching
  • COSMETIC IMPROVEMENT: when Brush is set on Candlestick graph, the value is used for candle outline.
  • BUGFIX: in some scenarios it wasn’t possible to modify control template under Silverlight
  • BUGFIX: in some scenarios ArgumentOutOfRangeException was thrown when hovering over an empty chart.
  • BUGFIX: in some cases exception was thrown when hovering over an empty chart plot area
  • BUGFIX: Collapsing and showing charts (using Chart.Collapse()/Show() methods) sometimes resulted in charts overlapping
  • BUGFIX: in Raw (milliseconds) mode Value field data was used instead of Volume
  • BUGFIX: when ArrowUp bullet was set on axis it wasn’t visible
  • COSMETIC FIX: mouse cursor wasn’t returning to regular Arrow after mouse was released after dragging/scrolling the chart.

amMap 2.5.5 Released

Wednesday, July 21st, 2010

We just released new version of amMap 2.5.5 [Download]

Here’s the scoop of what’s new":

* FEATURE: "link_with" attribute now works with lines also.

* FEATURE: "active" attribute for <labels>. Set it to "false"
  and it will not take hover focus from the underlying objects.

* BUG FIX: clicking on a movie contained within area caused that
  area’s color to be reset to default one.

* BUG FIX: fixed bug in negative area value handling.

* BUG FIX: <background><stretch> settings was being ignored.

* BUG FIX: fixed bug in hover colors on areas linked with a movie.

* BUG FIX: undefined areas now don’t display hand cursor when
  rolled over.

* BUG FIX: lines now don’t display hand cursor unless they’re
  clickable.

* NEW MAPS: Bhutan, Dominican Republic, Laos, Nepal, Pakistan,
  Singapore, Thailand, Vietnam

* UPDATED MAPS: India (map), Japan (map and data)

* SAMPLE: added "wrold_with_antarctica" sample/data file

amStock 1.3.0.0 Released

Wednesday, July 14th, 2010

We 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.