Be the first to write a review
Charting with Flex – part 2
In the previous article, I showed you the power of creating charts using the Flex charting components. We created a simple pie chart and added some styling as well as looking at some of the variations that are possible.
In this article, I want to take things one step further. This time, we'll create a column chart and display data that we've loaded from an external XML file. You'll see how to:
- structure an XML file with the chart data
- load the XML content into the application
- set the dataProvider from the loaded content
- add data series from the loaded content
- add a legend to the chart
- change the column and axis colours
- add a line to create a mixed chart type
Sas Jacobs
Hello. I'm the Principal of Anything Is Possible, an Australian web development business specialising in web applications development and training. I'm interested in using Flash with dynamic content and I've presented at a number of International conferences on topics relating to applications development, XML and scripting components. I have recently released my second print book Beginning XML with DOM and Ajax to match the first one - Foundation XML for Flash. I have a business web site
and a personal web site.