Home > Flex 4 > Using a spark List to simulate a stacked bar chart

Using a spark List to simulate a stacked bar chart

This is an example of a spark List with a custom item renderer that looks like a stacked bar chart.

I was recently in a meeting where someone was presenting lots of information via pretty graphs and charts and I started wondering how hard it would be to replicate some of those graphs using the spark List component.

As it turns out it’s pretty easy, here is a sample stacked bar chart using a spark List with a custom item renderer:

If you’re interested in creating other charting components using spark check out Alex Harui’s blog.

  1. November 1st, 2010 at 14:47 | #1

    I love it. Thanks for the sample.

  1. No trackbacks yet.