开发者

Can I customize a BarChart for this purpose?

开发者 https://www.devze.com 2023-04-09 10:07 出处:网络
I\'m kind of new to using charts in Flex, so you\'ll have to forgive me if I\'m asking something for which there\'s an obvious answer.

I'm kind of new to using charts in Flex, so you'll have to forgive me if I'm asking something for which there's an obvious answer.

I have a need to create a BarChart which acts more like a List component, albeit it should still be a chart. I need items to look somewha开发者_开发技巧t like this:

<s:HGroup width="100%">
    <s:Button id="labelDisplay" label="Item Name"/>
    <s:BARCHARTGRAPHTHING width="100%"/>
    <s:Label text="{data.count}"/>
</s:HGroup>

Thus, an item should look kind of like this:

Can I customize a BarChart for this purpose?

Is there a way to customize the MX BarChart component to allow me to provide a custom item renderer for the part that renders the label for the row? Is there also a way for me to add a total column next to the bar on the right?

Can I customize a BarChart for this purpose?

Additionally, I need to be able to allow my chart to handle a lot of different rows of data. Can I make it act more like a list and add a scroller, keeping the ticks at the bottom above all bars?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号