17Sep/085
OpenFlux + Degrafa = FluxCharts
Last night I started playing around with the new GeometryRepeater/PropertyModifier classes in Degrafa and decided it would be fun to create an OpenFlux chart component. The code consists of a Chart model class (currently just has a data Array property) and 3 mxml views. You can change the view at runtime to a pie, line or column chart.
The app is below with view source enabled. So far the component is really simple and doesn't even have a controller. I plan on developing it further but wanted to show it off at the early stage so you can see how simple it is to get started creating a custom OpenFlux component.
I will be posting updates as I add more functionality. Let me know any ideas you have for what you would like to see.

September 17th, 2008 - 18:25
Very nice. I haven’t had a chance to play with OpenFlux yet, but it looks really promising. I’ve done quite a bit of degrafa.
September 21st, 2008 - 01:02
Cool, would it be possible to have a tooltip on each data value?
Many thanks for your outstanding work.
November 11th, 2008 - 00:33
very nice!
for me the line chart is upside-down (small values should be close to bottom, big->top). But i guess it’s just a matter of handling the y position in the view differently.
openflux is great!
February 24th, 2009 - 23:24
Nice, but I get some warnings when compiling:
Code:
Warning:
…\src\com\openflux\charts\views\PieChartView.mxml(53): Warning: Function value used where type Object was expected. Possibly the parentheses () are missing after this function reference.
…\src\com\openflux\charts\views\PieChartView.mxml(54): Warning: Function value used where type Object was expected. Possibly the parentheses () are missing after this function reference.
March 15th, 2009 - 14:33
This would be spectacular if it handled data real time (eg like a stream of quotes for stock charts)