Archive for May, 2009

amCharts for WPF Source Code is Now Available

Tuesday, May 26th, 2009

We are happy to announce that buyers of Enterpise and Single Developer + Source Code licenses can now download the C# source code of the WPF charting bundle. Download instructions are included in your purchase receipts.

Thank you!

amCharts for WPF v.1.0.2 – Performance improvements

Monday, May 18th, 2009

We have just released a 1.0.2 version of amCharts for WPF. The main focus of this release is performance improvements in serial chart types (line, column, etc.), especially in line chart.

Download amCharts for WPF

Change log for v.1.0.2:

  • OPTIMIZATION: SerialChart (column, line, etc.): dramatically improved performance of serial charts (especially line)
  • IMPROVEMENT: LineChart: improved outline/outlined bullet rendering algorithm
  • BUGFIX: LineChart: when VerticalLines feature was utilized and VerticalLinesClipped was set to false and zero Y point wasn’t visible in the chart, lines stretched outside of chart

amMap v 2.5.1 released

Monday, May 11th, 2009

New version of amMap v 2.5.1 was just released. [Download]

New Feature

Two new JavaScript functions:

flashmovie.getCenterCoords() – requests center coordinates of the
current viewstate.

flashmovie.getCurrentBounds() – requests coordinate bounds of the
current viewstate.

When these functionsa re called map uses following callback functions
to return data:

function amSetCenterCoords (map_id, lng, lat, zoom)
function amSetCurrentBounds (map_id, sw_lng, sw_lat, ne_lng, ne_lat)

Bug fixed

Textbox was appearing when rolled over objects even if it was
not enabled.

amCharts for WPF 1.0.1 Released

Monday, May 11th, 2009

We have released a new version of our charting elements for WPF. The main reason for this release was a fix for a problem preventing usage of the controls in templates. We have also added a PieHeightPercent property allowing to specify pie height in percents rather than pixels.

Download amCharts for WPF 1.0.1

Here’ a change log for version 1.0.1:

  • FEATURE ADDED: PieChart: PieHeightPercent property added allowing to specify pie height in percents from radius for consistent look in resizable scenarios
  • BUGFIX: all charts: it wasn’t possible to use charts inside of templates. Exception like "NameScopeProperty found within the content of a FrameworkTemplate, on a … object. Name scopes within templates are not supported."

We’ve forgotten to include the change log for 1.0 release in the announcement so here it is:

  • BREAKING CHANGE: LineChart: DataContext of Balloon in LineChart is set to CurrentDataItem now (was set to graph) to be consistent with ColumnChart. Custom balloon templates for LineChart must be updated to work properly.
  • CHANGE: LineChart, ColumnChart: changed default balloon template for line and column charts to include SeriesText in front of Value
  • COSMETIC CHANGE: ColumnChart: subtler shading of top and side surfaces of 3D columns
  • COSMETIC CHANGE: ColumnChart: decreased delay in sequenced column animation
  • BUGFIX: SerialChart (line, column, etc.): data binding through XAML didn’t work.
  • BUGFIX: ColumnChart: StartValue of ColumnDataPoint wasn’t taken in consideration when calculating minimum and maximum values for the axes
  • BUGFIX: SerialChart (line, column, etc.): When ValuesRotationAngle on CategoryAxis was set to 90 or -90 on a vertical category axis (bar chart) values were not positioned specifically (centered relative to tick)
  • BUGFIX: SerialChart (line, column, etc.): when there were prime number (or a number with only large divisors) of series items visible a lot of grid lines and values on the category axis were drawn.
  • BUGFIX: LineChart: in rare cases (noticed when used in browser and inside a Frame) graphs where rendered outside the plot area or not rendered at all and then bounced back where they are supposed to be on hover over them or over the legend
  • BUGFIX: PieChart: when StartAnimationEffect was set to None the setting wasn’t honored.
  • BUGFIX: PieChart: IsSelected=true wasn’t honored on startup
  • BUGFIX: PieChart: selected slices where pulled out incorrectly on startup

New Maps Released

Thursday, May 7th, 2009

Included in the brand new amMap v 2.5.0 [Download] released earlier today we have included a bunch of new maps as well as updated some of the old. New maps added: (click on a name to view demo)

amMap v 2.5.0 released

Thursday, May 7th, 2009

We have just released amMap v 2.5.0 [Download]

New features added:

Now every custom movie (defined in <movies>) has an attribute that references to the main AmMap object. So the movies now have easier access tomap object’s public properties ant functions. I.e.:

_ammap.zoom_level
_ammap.setZoom()


Additional background settings and map overlay

<stretch>  [false] (true / false) should we stretch background over the whole width/heigh?

<overlay_file> [] (filename) swf or jpg file to use as an overlay for the map. This file must be located in path/ folder (set in html file)

<overlay_stretch> [false] (true / false) should we stretch overlay over the whole width/heigh?


Ability to reorder movies, lines and labels layers

A new <layers> setting in which you can set the order of appearance of movies, lines and labels layers. I.e.:

<layers>labels,movies,lines</layers>

In This case lines will be drawn on top, movies underneath it and labels at the bottom. Please note that objects with X/Y coordinates still be drawn over objects with long/lat coordinates due to the nature of internal object placement organization.


Ability to always show hand cursor

New setting <always_hand>. If set to true, mouse cursor will always be hand but only if drag_map=true.


Additional JavaScript function call: amRegisterClickAnywhere()

Works similarly to amRegisterClick, except it is called even when clicked
on a non-object (hence "anywhere") like background, disabled area, etc.

When clicked on background it returns "__background" for an oid.


Internal event broadcasting mechanism

Now main AmMap object acts as a brodcaster of events included movies’ objects can register as listeners to. I.e.:

__ammap.addListener(myObject);

Whenever some event occurs amMap will call corresponding method on myObject. Refer to online documentation for the complete list of events.


Developer mode shortcuts

Keyboard shortcuts were added in developer mode to copy map info into clipboard:

Ctrl + 1 – Copy longitude and latitude
Ctrl + 2 – Copy stage x and y
Ctrl + 3 – Copy stage x% and y%
Ctrl + 4 – Copy zoom info


Additional embedded map marker/movie: rectangle_centered

amMap positions embeded marker "rectangle" according to upper left corder. If you would rather position according to the center of the rectangle use "rectangle_centered"


Bug fixes:

Setting <zoom_on_click> to true caused anomalies when switching to another map which has this setting disabled.

Now when text_box is set to show_on_hover=true and hide_on_roll_out=false text box will show X (close) button.

Updated ASP.NET Controls

Thursday, May 7th, 2009

We have just released an updated version of ASP.NET controls for amCharts. This release (1.6.3.0) includes all the new features of amCharts bundle 1.6.3.0. See the change log below for details.

Download ASP.NET Controls for amCharts.

Changes in ASP.NET Controls for amCharts version 1.6.3.0:

  • FEATURE ADDED: XY chart: added ZoomDisableAxis property. You can disable vertical or horizontal zoom. Set x to disable horizontal and y to disable vertical zoom.
  • FEATURE ADDED: XY chart: added global BulletMaxSize and BulletMinSize properties.
  • FEATURE ADDED: all charts: added ScientificMax and ScientificMin properties. These properties control limits when chart starts displaying values in scientific notation.
  • FEATURE ADDED: all charts: added JsEnabled property. In case you don’t use any flash – JavaScript communication, you should set this setting to false – this will save some CPU and will disable the security warning message which appears when opening the chart from hard drive.
  • FEATURE ADDED: Column chart, Line chart: ValuesDuration (column chart) and YLeftValuesDuration/YRightValuesDuration (line chart) properties added. In case you want your axis to display formatted durations instead of numbers, you have to set the unit of the duration in your data. For example, if your values in data represents seconds, set “ss” here.
  • FEATURED ADDED: Column, Line and XY charts: added PercentileMargins property. When it’s set to true margin settings are treated as percentile values.
  • BUGFIX: LineChart: DataLabelFormatString wasn’t sent to the flash controls in LineChartGraph

All Charts Updated

Tuesday, May 5th, 2009

All amChart family members just got an update

New settings <scientific_min> and <scientific_max> added. If absolute value of your number is equal or bigger then scientific_max or equal or less then scientific_min, this number will be formatted using scientific notation, for example:

15000000000000000 -> 1.5e16
0.0000023 -> 2.3e-6

amStock-only updates

NEW FEATURE: scrollers’ graph can now be "step" or "line". New setting <graph_type> was added to the <scroller> group. The default type is "line".

FIX: if start_on_axis was set to false and equal_spacing was set to true, the last grid line wasn’t displayed.

[Download]