Archive for April, 2009

amCharts for WPF 1.0 Released

Monday, April 27th, 2009

We have released the final 1.0 version of amCharts Bundle for WPF.

Pie chart, Column chart, Line chart, Mixed column and line chart

The 1.0 version supports more than 20 chart types and variations including pie, donut, partial pie and donut, line, area, column, bar, stacked line, area, column and bar, 100% stacked line, area, column and bar, histogram, floating column and bar, gapped line and area, mixed column/bar and line/area plus various mixed and 3D variations. See the demo for a taste of what can be done with amCharts for WPF.

Download amCharts for WPF.

As always fully functional version amCharts for WPF can be used absolutely FREE of charge under a linkware license or you can buy a commercial link-free license. As a sign of appreciation for your feedback during the beta stages we decided to extend the “beta price” (20% discount) for a couple more days until the end of April, 2009.

Buy amCharts for WPF.

Your feedback is highly appreciated, so if you find a bug or have a feature suggestion, please, don’t hesitate to post it in our forums.

We hope you’ll enjoy using amCharts for WPF in your projects as much as we enjoyed developing it.

kick it on DotNetKicks.com Shout it

amStock v. 1.1.7.0 Released

Thursday, April 23rd, 2009

We have just release new verson of or stock chart – amStock 1.1.7.0. [Download]

Bugs Fixed:

When <equal_spacing> was set to false cursor was not always snaping to the nearest bullet.

Selected predefined period button lost selected color after the chart was resized or a data set for comparing was changed.

Now if you do not specify value for the events that are not assigned to any graph they will be displayed directly on axis.

New Features:

<strict_min_max> setting was added. This setting goes to:
<charts><chart><values><y_left> (or <y_right>). If this is set to true, the axis will stay between Min and Max values even if there are graph points beyond those values. The parts of the graph that do not fit will be cropped. If this is set to false, the Min and Max values will be extended to fit the graph. The default value is false.

<frequency> for scroller graph. If your data set has a lot of values the scroller might significantly slow down the whole chart. (Provided you have some graph in the scroller). This new setting can help solve the problem. I.e. if you set <scroller><frequency>5</frequency></scroller>, the graph in the scroller will take only every 5th data point. Other values will be skipped.

<fade_others_to> setting was added. It goes to:
<charts><chart><legend>. When the user rolls-over a legend entry key, the other graphs will fade to this setting so that the rolled over graph would stand out from the rest. Recommended setting is 10-20. Most likely you should set <graphs_on_off> to false if you use this setting. [Example].

New JavaScript function, setEvents(events, remove_old) was added. It allows adding events at a runtime. Use default event XML syntax: <events><event>….</event></events>. If you set the remove_old to true, the old events will be removed. Default value is "false".

1.0 Release Candidate is Here

Tuesday, April 14th, 2009

We have released a Release Candidate of amCharts for WPF bundle. This release includes a number of minor new new features but mainly focuses on fixing bugs and improving stability. See complete change log below for details.

Download amCharts for WPF 1.0 Release Candidate.

As for commercial licenses, current 30% discounted price is valid for a couple more days – until Monday, April 20, 2009.

This is most likely the last release before the final 1.0 version is released, so don’t miss your chance to secure your license and future 1.x version updates by purchasing your license Today.

Buy amCharts for WPF.

Change log for version 1.0.0.0 Release Candidate

  • FEATURE ADDED: added Refresh method to ChartBase class (all charts) to forcing charts to redraw themselves. When Value of data item changes the method is called automatically.
  • FEATURE ADDED: SerialChart (line, column, etc.): added SeriesText property to SerialDataItem which returns Text of associated SeriesItem.
  • FEATURE ADDED: SerialChart (line, column, etc.): added PercentValue property to SerialDataItem class. The property returns percentile value of the data item relative to other graphs at the same series point.
  • FEATURE ADDED: all data items (slices, line points, column points): DataContext property is set to the actual object to which this data item is bound for future reference.
  • FEATURE ADDED: PieChart: Data labels can be placed inside slices. Set LabelRadius or LabelRadiusPercent to a negative value to use this feature.
  • FEATURE ADDED: added BalloonTemplate property to simplify balloon content customization.
  • BUGFIX: SerialChart (line, column, etc.): exception was thrown when hovering over an empty chart
  • BUGFIX: LineChart: Graph property wasn’t set on LineDataPoint
  • BUGFIX: ColumnChart: it wasn’t possible to add graphs to column chart via collection editor in WPF designer
  • BUGFIX: ColumnChart: exception was thrown when trying to animate a column without a Value
  • BUGFIX: SerialChart (line, column, etc.): Exception was thrown in WPF designer regarding Guides collection of ValueAxis.
  • BUGFIX: SerialChart (line, column, etc.): it wasn’t possible to set StartSeriesID/EndSeriesID on CategoryGuide through collection editor in WPF designer
  • BUGFIX: SerialChart (line, column, etc.): it wasn’t possible to set ID/SeriesID through collection editor in WPF designer.
  • BUGFIX: PieChart: WPF designer was throwing unexpected errors when pressing OK in Slices collection editor.
  • BUGFIX: SerialChart (line, column, etc.): when graphs are added or removed from Graphs collection of the chart the chart is refreshed/redrawn.
  • BUGFIX: SerialChart (line, column, etc.): when ValuesFrequency was set to a value higher than 1 values were skipped counting frequency from the last value (should’ve been from first)
  • BUGFIX: sometimes graph titles in Legend were wrapped inappropriately for no specific reason.
  • BUGFIX: ColumnChart: when MultiBinding was used for data labels, sequenced animation was performed incorrectly and labels were placed in the wrong positions.
  • BUGFIX: Stacked Area Chart: filled area in stacked area graph was stretching down to the category axis. Should have ended at the previous graph’s top,
  • BUGFIX: PieChart, ColumnChart: exception was thrown when chart was included in a hidden control (like tab). Some events were fired and some not, causing the error.
  • FIX: ColumnChart: data labels on columns were hit test visible "stealing" mouse events from column objects
  • COSMETIC FIX: PieChart: format of the default percent value in pie chart balloons was changed from ".##" to "0.##"
  • MARKUP: added ContentPropertyAttribute and DefaultPropertyAttribute on chart, graph and other classes so that graphs can be declared right inside chart tags in XAML, etc.

New features of Stock chart

Wednesday, April 8th, 2009

Date format for date input fields
You can set custom date format for the period selector date-input fields. This can be done using this setting: <period_selector><date_format>. Note, you can’t use “month” here – only “MM”.

Custom background image can be loaded
A new setting, <background><file> was added. The file should be placed in the “path” folder.

Get and set status of a chart with JavaScript function
JavaScript functions for getting and setting current status of a chart added: if you call flashMovie.getStatus() function, the chart will return the current status of a chart in a query string, for example:

<code>from=2008-01-01&to=2008-03-05&main=4&comparing=6,3</code>

As you see, it returns the selected period, the id of the main data set and the ids of data sets, selected for comparing. To set this or some other status, you should call:

<code>flashMovie.setStatus(”from=2008-01-01&to=2008-03-05&main=4&comparing=6,3″);</code>

This is very comfortable when user navigates away from the page and you want to keep the same status when the user comes back.

JavaScript functions are called when main and comparing data sets are changed:
amSelectDataSet(chart_id, did) – called when main data set was changed
amCompareDataSet(chart_id, did) – called when data set for comparing was selected
amUncompareDataSet(chart_id, did) – called when comparing data set was unselected

Vertical legend
A new setting <legend_position> was added. The default value is “top”, the other available – “left” and “right”. In case you use “left” or “right”, you can control the width of the legend with the <legend_width> setting. The default value is 150. Check vertical legend example.

The items in the legend can arranged in the reverse order. 
A new setting, <reverse_order> was added to the chart’s legend settings.

The graph can be hidden when the chart is initialized.
If you set <graph><hidden>true</hidden></graph>, the graph will be hidden when the chart is first loaded. Check this example to see this in action.

Download stock chart