Home > Flash development, Flex development > Displaying elevation with Axiis – example

Displaying elevation with Axiis – example

October 29th, 2009 Leave a comment Go to comments

Axiis is the open source data visualization framework Tom Gonzalez talked about at Adobe Max earlier this month. Watch his presentation here. At this session Tom announced the release of Beta 1.0 of the library which is built upon Flex 3.

I recently finished and deployed a complete rewrite of the map mashup RunningMap.com which uses Axiis to display elevation data in a line graph. After seeing his presentation 360|Flex last May I decided to give the (then alpha) Axiis framework a try. Upgrading to the Beta 1.0 release was painless and immediately I noticed the drawing performance of the graph went from slow(ish) (which actually was not a bad effect) to instantaneous.

Connecting my data source to the graph was a challenge and I had to use the debugger to get the data wrapped “just right”. I put together an example that illustrates:

  • use of Axiis LineSeriesGroup
  • wrapping an array collection “just right” so it can be bound as a data source
  • overlaying the graph on a map
  • setting the data tip using a function

The live example is here which is source view enabled.

Axiis line graph example

Categories: Flash development, Flex development Tags: