Archive for the ‘Flex’ Category

AnyGantt 4.2.0 Available

Tuesday, November 15th, 2011

Our component for building Gantt charts has been updated. The new version - AnyGantt 4.2.0 - contains the following changes:

Version history: http://www.anychart.com/products/anygantt/history/
Trial download: http://anychart.com/download/
Download for registered customers: http://www.anychart.com/customer_area/

AnyStock 1.1.0 with Drawing Tools for Technical Analysis and Flex Version

Wednesday, April 27th, 2011

We are proud to release AnyStock 1.1.0 – a new version of Stock and Financial Charts component, where some significant features have been added:

Drawing tools and annotations
AnyStock 1.1.0 offers a complete set of shapes for technical analysis that can be added to the chart plot, both programmatically and via user interface. Already added objects are easy to move, change, and remove.

Available shapes include: line segments, rays, trend lines, vertical and horizontal lines, rectangles, ellipses, triangles, trend channels, Andrew’s pitchforks, Fibonacci fans, Fibonacci arcs, Fibonacci retracements, Fibonacci time-zones, buy/sell signals, and custom text labels to mark important points and trends discovered.

Check out the online demo of these tools: AnyChart Stock: Drawing Tools and Annotations Demo

Flex Component
Flex developers have received the great opportunity to use AnyStock and build smart scrollable charts into their rich internet applications and trading solutions.

Improvements
A huge performance improvement for mouse over the chart area has been made, as well as an improvement in range picker behavior: input values and input masks are now internally trimmed.

Misc
Besides that, a few bugs have been fixed and several minor features have been added, such as:

Printing Flash Content in Firefox

Thursday, February 24th, 2011

Flash and Firefox have always had a lot of compatibility problems - for instance, Flash content can’t be printed in Firefox.

A long time ago we found a workaround and published it as a free library. Three years have passed, but the bug still exists, and the fix is still relevant.

So here it is – a small library that allows to achieve correct Flash content printing in Firefox:
http://code.google.com/p/flash-print-fix/

For example, that’s how a Flex application is printed in Firefox:

And that’s how it looks like with the fix applied:

The idea is very simple:

1. Get a PNG screenshot.
2. Encode the PNG file in base64 string.
3. Add a picture with src=”data:img/png;base64,…” mce_src=”data:img/png;base64,…” to the page.
4. In CSS, specify to hide Flash while printing and to show the picture:

@media screen.flashScreenshot { display: none; }
@media print.printableFlashObj { display: none; };
.flashScreenshot { display: block; border: 0; outline: none; }

AnyChart 5.1 - new chart types, new features, significant performance improvements, and many more…

Friday, January 23rd, 2009

We’re happy to announce the production release of AnyChart 5.1 - the most advanced flash charting component. Version 5.1 builds on the success of the earlier 5.0 offering by adding several new chart types, new features, significant performance improvements plus new advanced dashboard features and Adobe AIR support.

New chart types: TreeMaps, HeatMaps, Funnel Charts both in 2D and 3D, Accumulation Pyramid (also known as Pyramidal Funnel) both 2D/3D, 3D Pie and  Doughnut charts.

New features: Scrolling support,  Multiple X Axes both for Categorized and Scatter plots, Markers in Legend, Interactive Labels, Multiple Data Labels Support, Multiple Data Tooltips Support, Multiple Data Markers, Context Menu Localization, Axis Markers Styling Support.

Another exciting news - Now AnyChart is fully compatible with Adobe Air ™. Build your RIA or Desktop Application utilizing the power of AnyChart Flash Charting engine. Also all chart types can now be combined within interactive dashboard: all charts, gauges, maps, funnels.

And the last, but not the least - Significant Performance Improvements. (more…)

Creating custom design-time preview for Flex 3 components

Friday, February 29th, 2008

Sometimes it is necessary to create custom preview of the component in the Flex Builder “Design” view.
It is undocumented feature ;-)
I’ve found very interesting class in the Flex SDK 3: mx.core.UIComponentGlobals.

This class contains static field designMode:Boolean.

Just check that field in your component code.
You can download example component with the source code from here:
http://anychart.com/tips_and_tricks/designMode/DesignModeComponent.zip

Also you can download the usage sample:
http://anychart.com/tips_and_tricks/designMode/DesignModeComponentSample.zip

Running in the Flex Builder “Design” mode it shows AnyChart image. But when it runs in the flash player it shows only gray rectangle.