Flex Chart Gotcha

Ok, so Flex 2 charts rock. But - I ran into an issue yesterday that drove me mad. All I wanted was a simple bar chart. Yet nothing I tried would work right. Turns out that if you want a bar chart with one series of data (like sales of one product over the last few months) it won’t work. You have to use a Column Chart. Silly me thinking that a bar chart was a bar chart! Turns out that BarChart is only used for multiple bars. Lesson learned. (And to be honest, I didn’t really read the docs well - I skimmed.)

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate. He focuses on JavaScript, serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Comments