Around one week ago I published an article which compared the performance of Visibox charts to a few of its competitors. The results indicated that Visiblox was the fastest chart, with DynamicDataDisplay coming in a very close second.
A few days ago Alan Mendelevich plugged the amChart Quick Chart into the test harness to see how the performance compared. Alan's findings were that the Quick Charts were marginally faster that Visiblox (and that you should not compare apples and oranges).
This post is a quick response to Alan's findings.
The reason that amChart's Quick Chart was not in the comparison was because I wanted to compare a few of the most well known charting solutions, with the exception of DDD, which might not be terribly well know, but is noted for its speed. The amChart's offerings were absent from the comparison simply because they are a very basic chart - I wanted to compare feature-rich charting components (comparing apples to apples!).
Had I included amChart's the comparison might have gone something like this ...
|Visiblox Chart||amCharts Quick Chart|
amCharts Quick Chart
The Quick Chart has simple and concise XAML as shown below:
It is good to see common requirements like collapsing the legend implemented in a simple fashion. The
MinimumCategoryGridStep property is used to hide the X axis, which is a category axis.
The code-behind is also quite concise:
RGBData is a simple value object.
The logic within the Quick Chart that scales the Y axis favours discrete intervals, hence in this test, the Y axis scale does not change much. In order to more closely match this behaviour, the Visiblox charts have a fixed axis range.
In matching the amCharts behaviour more closely I found the results of five repeated runs to be:
- Visiblox: 63.04 fps (st. dev. 1.87)
- amCharts: 62.28 fps (st. dev. 3.21)
My congratulations to amCharts Quick Charts, they certainly live up to their name and provide a quick solution for basic charting requirements. For many charting applications, performance is important, this is true for those with simple requirements, and possibly even more so for those with complex requirements.
Full article sourcecode: ChartingSourcecode.zip
Regards, Colin E.