开发者

1 dimensional chart in Flex

I want a bubble chart that just shows items along a straight line. So I'd like the horizontal axis to essentially not exist. I have it working right now with the yField assigned to a field that happens to always be '1' on my test dataset.. but this is not going to be the case in general, so I need some way to restrict the y-axis... preferably without needing to go back to my model and parse through all my data to add a dummy value '1' on each entry.

Unfortunately setting min/max values just cuts off anything above or below rather than rest开发者_如何学Cricting entries.

I set computedMin and Maximum (no idea what they are and the docs don't really explain) but it didn't seem to restrict the data in any way.

Any way to achieve this?


can you try extending BubbleChart to BuubleChartExt and override updateDisplayList method to reposition your bubbles. You can have a look at source of existing updateDisplaylist if you have FlexBuilder3 professional license. Source code info here. you just need to change positioning info.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜